DEV Community

Discussion on: An easy Approach to Algorithms (Part 1)

Collapse
 
souravdadwal profile image
Souravdadwal • Edited

Do we really need to sort the array can't we search for targetSum-arr[I] ?