上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页
摘要: Total Accepted: 59433 Total Submissions: 230628 Difficulty: Medium Given a sorted linked list, delete all nodes that have duplicate numbers, leaving o 阅读全文
posted @ 2015-12-12 18:35 zengzy 阅读(160) 评论(0) 推荐(0) 编辑
摘要: otal Accepted:59473Total Submissions:253637Difficulty:MediumSort a linked list inO(nlogn) time using constant space complexity.(E) Merge Two Sorted Li... 阅读全文
posted @ 2015-12-12 16:59 zengzy 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:55428Total Submissions:250727Difficulty:MediumGiven a list, rotate the list to the right bykplaces, wherekis non-negative.For example:G... 阅读全文
posted @ 2015-12-12 16:36 zengzy 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:48614Total Submissions:185356Difficulty:HardGiven a linked list, reverse the nodes of a linked listkat a time and return its modified l... 阅读全文
posted @ 2015-12-12 16:01 zengzy 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:73777Total Submissions:219963Difficulty:MediumGiven a linked list, swap every two adjacent nodes and return its head.For example,Given1... 阅读全文
posted @ 2015-12-12 15:29 zengzy 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:53721Total Submissions:180705Difficulty:EasyWrite a program to find the node at which the intersection of two singly linked lists begin... 阅读全文
posted @ 2015-12-12 15:12 zengzy 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:90247Total Submissions:254602Difficulty:EasyGiven a sorted linked list, delete all duplicates such that each element appear onlyonce.Fo... 阅读全文
posted @ 2015-12-12 15:03 zengzy 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:43183Total Submissions:160460Difficulty:EasyRemove all elements from a linked list of integers that have valueval.ExampleGiven:1 --> 2 ... 阅读全文
posted @ 2015-12-12 14:58 zengzy 阅读(137) 评论(0) 推荐(0) 编辑
摘要: otal Accepted:48115Total Submissions:109291Difficulty:EasyWrite a function to delete a node (except the tail) in a singly linked list, given only acce... 阅读全文
posted @ 2015-12-12 14:48 zengzy 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一.Linked List CycleTotal Accepted:85115Total Submissions:232388Difficulty:MediumGiven a linked list, determine if it has a cycle in it.Follow up:Can y... 阅读全文
posted @ 2015-12-12 11:48 zengzy 阅读(165) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页
levels of contents