摘要:
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 of the list.Solution: Uses map to recorde node mapping between old linked list and new linked list. 1 RandomListNode *copyRandomList(RandomListNod... 阅读全文
posted @ 2013-11-27 12:45
假日笛声
阅读(172)
评论(0)
推荐(0)


浙公网安备 33010602011771号