2015年1月11日

摘要: 题目:Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.代码:oj测试通过Runtime:178 ms 1 # Definition... 阅读全文
posted @ 2015-01-11 20:06 承续缘 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 题目:A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep co... 阅读全文
posted @ 2015-01-11 16:13 承续缘 阅读(479) 评论(0) 推荐(0) 编辑

导航