Two Sum problem is a common question that you can find in several problem solving websites and also in technical interviews. Problem Statement (leetcode): Given an array of integers nums and an integer target, return indices of the two numbers such t...

Markdown supported · ⌘↵ to post
walid Pw
dev
Hello Amine,
Thank you for this article, already did solve it with the two nested for loops, but never thought that there is a faster solution for it.
Thank you again.