摘要:
Given a singly linked list L: L0 → L1 → … → Ln-1 → Ln reorder it to: L0 → Ln → L1 → Ln-1 → L2 → Ln-2 → … Example Given 1->2->3->4->null, reorder it to 阅读全文
posted @ 2016-04-21 15:11
YuriFLAG
阅读(137)
评论(0)
推荐(0)
摘要:
Given a linked list, remove the nth node from the end of list and return its head. Example Given linked list: 1->2->3->4->5->null, and n = 2. After re 阅读全文
posted @ 2016-04-21 08:50
YuriFLAG
阅读(124)
评论(0)
推荐(0)

浙公网安备 33010602011771号