Are all the node values positive ?

  • 1

    Is it fair to assume that node values are all positive integers ? In that case I believe I can avoid searching below nodes whose path values from root already equal or is greater than sum.

  • 2

    from the problem, the answer is no :)

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.