Cognizant Interview Question

Find two numbers in array add up to sum

Interview Answer

Anonymous

Jan 21, 2025

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