在打卡的太平湖水怪很糊涂
在打卡的太平湖水怪很糊涂
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在打卡的太平湖水怪很糊涂的博客
全部文章
(共73篇)
题解 | #合并两个排序的链表#
/** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param pHead1 ListNode类...
2024-10-07
0
133
题解 | #反转链表#
/** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param head ListNode类 ...
2024-10-07
0
93
题解 | #牛牛的链表添加节点#
#include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node *next; }node; node *createlist(){ node *he...
2024-09-30
0
184
题解 | #牛牛的链表删除#
#include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node *next; }node; node *createlist() { node *he...
2024-09-30
0
152
题解 | #牛牛的双链表求和#
#include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node *next; }node; node *createlist() { node *he...
2024-09-30
0
154
题解 | #牛牛的单链表求和#
#include <stdio.h> #include <stdlib.h> typedef struct node{ //定义类型:单链表节点 int data; struct node *next; }node; node *createnode(...
2024-09-30
0
119
题解 | #牛牛的单链表求和#
#include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node *next; }node; node *arrayToLinkedList(int arr[...
2024-09-30
0
127
题解 | #牛牛的链表交换#
#include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node *next; }node; //创建头节点 node *add_head() { n...
2024-09-29
0
124
题解 | #牛牛的单向链表#
#include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node *next; }node; node *create...
2024-09-29
0
138
题解 | #牛牛的排序#
#include <stdio.h> void sort(int *arr,int n) {//把最大值依次往右排 for (int i = 0; i < n-1; i++) { //外层循环控制遍历次数n-1; for (int j = 0; ...
2024-09-24
0
146
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页