幻竹涂
幻竹涂
全部文章
题解
C++(5)
git操作刘(1)
Linux C语言(7)
归档
标签
去牛客网
登录
/
注册
幻竹涂的博客
全部文章
/ 题解
(共5篇)
题解 | #排序#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * 将给定数组排序 * @param arr int整型vector 待排序的数组 * @return int整型v...
2021-07-24
1
324
题解 | #判断链表中是否有环#
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} ...
2021-07-24
0
325
题解 | #反转链表#
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } };*/ class Solution { public...
2021-07-24
0
356
题解 | #链表中环的入口结点#
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } }; */ class Solution { public: ...
2021-07-24
0
333
题解 | #大数加法#
#include <sstream> class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * 计算两个数之和 * @param s string字符串 表示第一个整数...
2021-07-24
0
328