The live coding: Check two numbers from an array that if sum equal to 7 and put the two numbers to a new array. return the new array. Example input [3, 5, 2, -4, 8 ,11]. The output is [[5 2]]
Sigiloso
I use a loop to check the sum of every number of the array (Choke on the interview because I didn't use arr[index] instead just the index)