binary tree, sum of 2 nodes == given number# JobHunting - 待字闺中
r*e
1 楼
Given a binary tree, find a pair of nodes whose sum is the given target
value. Find all solutions.
Any idea to use as space as possible? thanks! :)
value. Find all solutions.
Any idea to use as space as possible? thanks! :)