摘要:
Merge two sorted linked lists and return it as a new sorted list. The new list should be made by splicing together the nodes of the first two lists. E 阅读全文
posted @ 2021-08-29 17:22
sherry001
阅读(47)
评论(0)
推荐(0)
摘要:
Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the 阅读全文
posted @ 2021-08-29 16:09
sherry001
阅读(36)
评论(0)
推荐(0)
摘要:
Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well. Example 阅读全文
posted @ 2021-08-29 16:06
sherry001
阅读(70)
评论(0)
推荐(0)
摘要:
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. To represent a cycle in the given linked list, we use 阅读全文
posted @ 2021-08-29 12:37
sherry001
阅读(45)
评论(0)
推荐(0)
摘要:
Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the posi 阅读全文
posted @ 2021-08-29 12:16
sherry001
阅读(37)
评论(0)
推荐(0)
摘要:
Given the head of a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should p 阅读全文
posted @ 2021-08-29 09:14
sherry001
阅读(36)
评论(0)
推荐(0)

浙公网安备 33010602011771号