2014年6月20日

leetcode - Flatten Binary Tree to Linked List

摘要: 题目:Flatten Binary Tree to Linked ListGiven a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 ... 阅读全文

posted @ 2014-06-20 14:01 laihaiteng 阅读(208) 评论(0) 推荐(0)

leetcode - Minimum Depth of Binary Tree

摘要: 题目:Minimum Depth of Binary TreeGiven a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the r... 阅读全文

posted @ 2014-06-20 11:25 laihaiteng 阅读(187) 评论(0) 推荐(0)

导航