摘要: 题目: Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For 阅读全文
posted @ 2016-02-06 23:17 很好玩 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level 阅读全文
posted @ 2016-02-06 22:22 很好玩 阅读(401) 评论(0) 推荐(0) 编辑