← Morgan Stanley questions
CodingEasy

Find pair with sum 'c' in sorted array

Filed under Morgan Stanley

Given a sorted array of integers and a target sum 'c', find a pair of numbers in the array that add up to 'c'. Return the indices or the values of the pair.

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 Morgan Stanley questions

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