Fmars Blog
Inner happiness comes from self-sacrifice
My Blog List
[Leetcode Solution] Binary Tree Level Order Traversal II
Analysis
Perform BFS on the binary tree layer by layer stored by two vector alternatively
Print the nodes within one layer separatively
Note
Code
No comments:
Post a Comment
Enter you comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Enter you comment