随笔分类 - 数据结构---链表
摘要:题目:1074 Reversing Linked List (25分) 题意 给N个链表结点,以及K,对每K个长度的链表做逆置,输出逆置后的链表。 Sample Input: 00100 6 4 00000 4 99999 00100 1 12309 68237 6 -1 33218 3 00000
阅读全文
摘要:题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805425780670464 题意 给出链表每个结点信息 address key next 按key排序再输出 Sample Input: 5 00001 11111
阅读全文
摘要:02-线性结构3 Reversing Linked List (25分) Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. Fo
阅读全文