自信的番石榴躺平了
自信的番石榴躺平了
全部文章
分类
归档
标签
去牛客网
登录
/
注册
自信的番石榴躺平了的博客
全部文章
(共6篇)
题解 | 最长回文子串
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param A string字符串 * @return int整型 */ #include <stdbool.h> int getLongestPalindrome(cha...
2025-06-25
0
11
题解 | 矩阵的最小路径和
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param matrix int整型二维数组 the matrix * @param matrixRowLen int matrix数组行数 * @param matrixColLen ...
2025-06-19
0
16
题解 | 没有重复项数字的全排列
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param num int整型一维数组 * @param numLen int num数组长度 * @return int整型二维数组 * @return int* returnSi...
2025-06-08
0
14
题解 | 坐标移动
#include <stdio.h> #include <string.h> int main() { char arr[10002]; fgets(arr,10001,stdin); int n=strlen(arr)-1; char dir...
2025-05-07
0
37
题解 | 句子逆序
#include <stdio.h> #include<string.h> void sort(char *arr,int n){ if(n==0){ return; } else{ char *str=strrchr...
2025-05-01
0
39
题解 | 从单向链表中删除指定值的节点
#include <stdio.h> #include<stdlib.h> typedef struct Node{ int value; struct Node *next; }node; //节点插入函数 void insert(node *head,in...
2025-04-22
0
40