2015年2月25日

LeetCode-138 Copy List with Random Pointer

摘要: 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 copy ... 阅读全文

posted @ 2015-02-25 18:32 linxiong1991 阅读(357) 评论(0) 推荐(0)

LeetCode-31 Next Permutation

摘要: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possibl... 阅读全文

posted @ 2015-02-25 11:22 linxiong1991 阅读(116) 评论(0) 推荐(0)

导航