小唐不想秃
小唐不想秃
全部文章
分类
归档
标签
去牛客网
登录
/
注册
小唐不想秃的博客
全部文章
(共25篇)
题解 | #二叉树遍历#
#include <stdio.h> #include<stdlib.h> #include<string.h> typedef int BTreeData; typedef struct BTreeNode { BTreeData data; ...
2023-09-23
0
329
题解 | #链表分割#
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) {} };*/ class Partition { public: ListNode* ...
2023-09-09
0
247
题解 | #链表的回文结构#
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) {} };*/ class PalindromeList { public: stru...
2023-09-09
0
281
题解 | #链表中倒数第k个结点#
/** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * * @param pListHead ListNode类 * @param k int整型 * @return ListNod...
2023-09-08
0
322
题解 | #替换空格#
//1. /*char* replaceSpace(char* s) { char* ret = NULL; char* tmp = NULL; int count = 0; char* arr = "%20"; size_t len = ...
2023-09-01
0
293
题解 | #替换空格#
char* replaceSpace(char* s) { char* ret = NULL; char* tmp = NULL; int count = 0; char* arr = "%20"; size_t len = strlen(...
2023-08-31
0
264
题解 | #Fibonacci数列#
#include <stdio.h> #include<stdlib.h> int main() { int a = 0; int b = 1; int c = 1; int n = 0; scanf("%d",&a...
2023-08-31
0
322
题解 | #计算一元二次方程#
#include <stdio.h> #include<math.h> int main() { float a,b,c; float x1 = 0; float x2 = 0; while(~scanf("%f %f %f"...
2023-08-28
0
324
题解 | #牛牛的二三七整除#
/* #include <stdio.h> #include<string.h> #include<stdlib.h> void find_factor(int arr1[], int arr2[], int n,int sz) { while (sz) ...
2023-08-27
0
226
题解 | #序列中删除指定数字#
#include <stdio.h> int main() { int arr[50] = {0}; int n = 0; scanf("%d", &n); int del = 0; int i =0; int ...
2023-08-12
0
315
首页
上一页
1
2
3
下一页
末页