Is there a Bug in question?

  • 0

    When the tree has nodes [1,2,1,10,10,1,1] , waht's the answer?
    a tree which nodes are[1,2,1,10,10,1,1]
    The answer of example code is 22, but it may be 26?

Log in to reply

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