Friday, February 6, 2015

LeetCode [107] Binary Tree Level Order Traversal II





Note
  • method 1: reverse the top-to-bottom result
  • method 2: insert a lower layer at the head of the vector
Ref
OJ

No comments:

Post a Comment