摘要: Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.由于对于这个二叉搜索树的要求是其必须是其必须是平衡的,所以应该使用递归。首先找到二... 阅读全文
posted @ 2016-01-11 13:05 eversliver 阅读(226) 评论(0) 推荐(0) 编辑