Convert Sorted List to Balanced BST
摘要:
Question: Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. Example: 2 1->2->3 => / \ 1 3 阅读全文
posted @ 2016-01-11 16:37 BillZ 阅读(258) 评论(0) 推荐(0) 编辑