喜刷刷
Showing posts with label
balance
.
Show all posts
Showing posts with label
balance
.
Show all posts
Wednesday, November 12, 2014
[LeetCode] Convert Sorted List to Binary Search Tree
›
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. 思路: 非常巧妙的题目,解答时 参考了这篇文章: h...
14 comments:
Monday, November 10, 2014
[LeetCode] Balanced Binary Tree
›
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in w...
2 comments:
›
Home
View web version