牛客马克西
牛客马克西
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客马克西的博客
TA的专栏
68篇文章
2人订阅
2024考研数据结构
68篇文章
717人学习
全部文章
(共66篇)
【2024考研】题解6 | #链表中环的入口结点#
来自专栏
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } }; */ class Solution { public: ...
2023-09-19
0
261
【2024考研】题解5 | #判断链表中是否有环#
来自专栏
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} ...
2023-09-19
0
271
【2024考研】题解4 | #合并两个排序的链表#
来自专栏
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ class Solution { public: /*...
2023-09-19
1
376
【2024考研】题解3 | #链表中的节点每k个一组翻转#
来自专栏
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ class Solution { public: /*...
2023-09-19
0
360
【2024考研】题解2 | #链表内指定区间反转#
来自专栏
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ class Solution { public: /*...
2023-09-19
0
310
【2024考研】题解1 | #反转链表#递归实现
来自专栏
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ #include <cstddef> class ...
2023-09-19
0
378
首页
上一页
1
2
3
4
5
6
7
下一页
末页