Medium · Binary Search Trees · about 15 minutes
Asked at Amazon, Google, Meta.
Decide whether you can pick one node from the first binary search tree and one from the second so that their values add up to target.
target