Find a pair summing to a value in a sorted array, then in a BST
Filed under REVE Systems
The question
Given a sorted array and a sum, find the pair of elements that adds to it, and solve the variant where the elements are stored in a BST.
No write-up yet. Related questions below have one.
Related REVE Systems questions
Collected from public candidate posts and coding forums. Updated Nov 2026.