珊珊呀!
珊珊呀!
全部文章
题解
归档
标签
去牛客网
登录
/
注册
珊珊呀!的博客
全部文章
/ 题解
(共5篇)
题解 | #判断链表中是否有环#
* Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; ...
C++
链表
2022-03-04
0
322
题解 | #链表内指定区间反转#
* struct ListNode { * int val; * struct ListNode *next; * }; */ class Solution { public: /** * * @param head ListNode类 * @pa...
C++
链表
2022-03-04
0
337
题解 | #删除链表中重复的结点#
struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } }; */ class Solution { public: ...
C++
链表
2022-02-25
0
256
题解 | #链表中环的入口结点#
struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } }; class Solution { public: Li...
C++
链表
2022-02-24
1
290
题解 | #两个链表的第一个公共结点#
struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } }; class Solution { public: ListNode* FindFirstC...
C++
链表
2022-02-23
0
196