摘要: As we know, if we traverse in from left to right level order, we can use a Queue to store all the nodes in this level from left to right. While in zig 阅读全文
posted @ 2016-01-28 13:34 爱推理的骑士 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Using DFS to traverse the BST, when we look through the BST to a certain node, this node must have the following property to make sure the tree is a v 阅读全文
posted @ 2016-01-28 12:21 爱推理的骑士 阅读(125) 评论(0) 推荐(0) 编辑