...
/Challenge 10: Find Two Numbers that Add Up to "Value"
Challenge 10: Find Two Numbers that Add Up to "Value"
Given an array and a “value,” find two numbers from the array that sum to “value.”
We'll cover the following...
Problem statement
Implement a function int[] findSum(int[] arr, int sum, int size)
which takes an array arr
, a number value
, size
of the array as input, and ...