Find a pair with given sum in BST
Filed under ServiceNow
The question
Find a pair of nodes with a given sum in a Binary Search Tree with optimal time and space complexity.
No write-up yet. Related questions below have one.
Related ServiceNow questions
Collected from public candidate posts and coding forums. Updated Nov 2026.