Adobe interview question

oops based, target sum pair, Search in BST