confused what "{1,#,2,3}" means? > read more on how binary tree is serialized on OJ. OJ's Binary Tree Serialization: The serialization of a binary tree follows a level order traversal, where '#' ...
Move to right, add right if possible. 注意stack.pop()在加完left-most child 的后,一定要curr = curr.right. stack: add left till end; consume top, if has right, add right; push right.left till end of right's left ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results