摘要:
题目:Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.If the number of nodes is not a multiple of k the... 阅读全文
posted @ 2014-07-24 04:31
爱做饭的小莹子
阅读(2930)
评论(0)
推荐(0)
摘要:
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sin... 阅读全文
posted @ 2014-07-24 03:58
爱做饭的小莹子
阅读(5916)
评论(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 c... 阅读全文
posted @ 2014-07-24 02:46
爱做饭的小莹子
阅读(4863)
评论(0)
推荐(0)
摘要:
题目:Given a list, rotate the list to the right by k places, where k is non-negative.For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2-... 阅读全文
posted @ 2014-07-24 00:54
爱做饭的小莹子
阅读(4811)
评论(0)
推荐(0)
摘要:
题目:Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flatten... 阅读全文
posted @ 2014-07-24 00:08
爱做饭的小莹子
阅读(4819)
评论(0)
推荐(0)

浙公网安备 33010602011771号