Infosys interview question

Then, he asked the standard 2 - sum problem.

Interview Answer

Anonymous

8 Nov 2020

Answered in O(n) using Hashmap.