2015年3月15日

Print Nodes in Top View of Binary Tree

摘要: Top view of a binary tree is the set of nodes visible when the tree is viewed from the top. Given a binary tree, print the top view of it. The output ... 阅读全文

posted @ 2015-03-15 01:42 Step-BY-Step 阅读(297) 评论(0) 推荐(0) 编辑

Print a Binary Tree in Vertical Order

摘要: Given a binary tree, print it vertically. The following example illustrates vertical order traversal. 1 / \ 2 3 / ... 阅读全文

posted @ 2015-03-15 01:08 Step-BY-Step 阅读(167) 评论(0) 推荐(0) 编辑

导航