摘要:
Remove Duplicates from Sorted List I Given a sorted linked list, delete all duplicates such that each element appear only once. Remove Duplicates from 阅读全文
posted @ 2016-07-03 04:36
北叶青藤
阅读(196)
评论(0)
推荐(0)
摘要:
Merge two sorted (ascending) linked lists and return it as a new sorted list. The new sorted list should be made by splicing together the nodes of the 阅读全文
posted @ 2016-07-03 04:22
北叶青藤
阅读(140)
评论(0)
推荐(0)
摘要:
Find the nth to last element of a singly linked list. The minimum number of nodes in list is n. Find the nth to last element of a singly linked list. 阅读全文
posted @ 2016-07-03 03:51
北叶青藤
阅读(219)
评论(0)
推荐(0)
摘要:
Given a list, rotate the list to the right by k places, where k is non-negative. Given a list, rotate the list to the right by k places, where k is no 阅读全文
posted @ 2016-07-03 03:32
北叶青藤
阅读(144)
评论(0)
推荐(0)
摘要:
Given a linked list, remove the nth node from the end of list and return its head. Notice The minimum number of nodes in list is n. Example Given link 阅读全文
posted @ 2016-07-03 02:34
北叶青藤
阅读(157)
评论(0)
推荐(0)
摘要:
Write a program to find the node at which the intersection of two singly linked lists begins. Notice If the two linked lists have no intersection at a 阅读全文
posted @ 2016-07-03 02:12
北叶青藤
阅读(157)
评论(0)
推荐(0)
摘要:
Sort a linked list using insertion sort. Sort a linked list using insertion sort. Sort a linked list using insertion sort. Example Given 1->3->2->0->n 阅读全文
posted @ 2016-07-03 00:37
北叶青藤
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号