今際の国の呵呵君
Wednesday, January 7, 2015
[LeetCode]Binary Tree Level Order Traversal
很简单,不多说。迭代的版本bfs,然后还有递归的方法。
代码如下:
iterative
recursive
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment