Net Bet interview question

you get array and a sum, return the 2 values in the array that return the sum

Interview Answer

Anonymous

9 May 2022

we move the array to hash map and we see if the sub is in the array