Find two numbers in sorted array adding to sum
Filed under Netskope
The question
Given a sorted array, find two numbers that add up to a given sum in O(N) time and O(1) space.
No write-up yet. Related questions below have one.
Related Netskope questions
Collected from public candidate posts and coding forums. Updated Nov 2026.