โ† Nagarro questions

Find two numbers with sum closest to N

Filed under Nagarro

Given two sorted arrays arr1 and arr2, and an integer N, find a pair of numbers (one from arr1 and one from arr2) whose sum is closest to N.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Nagarro questions

Collected from public candidate posts and coding forums. Updated Nov 2026.