Cognizant interview question

Find two numbers in array add up to sum

Interview Answer

Anonymous

21 Jan 2025

use map and cash the reminders and complete in o(n)