DEV Community

Discussion on: Crushing Job Interviews(DSA) - Two Number Sum

Collapse
 
dhruvindev profile image
Dhruvin

Yes
I think a appropriate solutions for this would be to create a array and whenevner we find a valid sum, instead of returning the array, we can just append it and return that array.

Stay tuned bruh, a lot more complex question are comming.