摘要:
Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Input: 1->2->3->4->5->NULL, k = 2 Output: 4->5->1-> 阅读全文
posted @ 2020-01-01 11:24
xuan_abc
阅读(141)
评论(0)
推荐(0)
摘要:
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example: Input: [ 1->4->5, 1->3->4, 2->6 ] Output: 阅读全文
posted @ 2020-01-01 10:14
xuan_abc
阅读(110)
评论(0)
推荐(0)

浙公网安备 33010602011771号