摘要: 原题链接在这里:https://leetcode.com/problems/kth-smallest-element-in-a-bst/description/ 题目: Given a binary search tree, write a function kthSmallest to find 阅读全文
posted @ 2015-09-09 09:08 Dylan_Java_NYC 阅读(320) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/flatten-binary-tree-to-linked-list/description/ 题目: Given a binary tree, flatten it to a linked list in-place. F 阅读全文
posted @ 2015-09-09 08:03 Dylan_Java_NYC 阅读(440) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/count-complete-tree-nodes/ 题目: Given a complete binary tree, count the number of nodes. Definition of a complete 阅读全文
posted @ 2015-09-09 00:48 Dylan_Java_NYC 阅读(241) 评论(0) 推荐(0)