李顺利plus
李顺利plus
全部文章
分类
题解(15)
归档
标签
去牛客网
登录
/
注册
李顺利plus的博客
全部文章
(共90篇)
题解 | #反转链表#
struct ListNode* ReverseList(struct ListNode* pHead ) { // write code here ...
C++
C
2022-10-08
0
175
题解 | #两个链表的第一个公共结点#
struct ListNode* FindFirstCommonNode(struct ListNode* pHead1, struct ListNode* pHead2 ) { &nb...
C
C++
2022-10-07
0
262
题解 | #数组中出现次数超过一半的数字#
class Solution { public: int MoreThanHalfNum_Solution(vector<int> numbers) { ...
C++
2022-10-07
0
212
题解 | #数组中出现次数超过一半的数字#
int MoreThanHalfNum_Solution(int* numbers, int numbersLen ) { // write code here&...
C++
C
2022-10-07
5
340
题解 | #二进制中1的个数#
int NumberOf1(int n ) { // write code here int sum=0,m; &...
C++
C
2022-10-07
0
299
题解 | #斐波那契数列#
int Fibonacci(int n ) { // write code here static int sum...
C
C++
2022-10-07
0
222
题解 | #整数中1出现的次数)#
int NumberOf1Between1AndN_Solution(int n ) { // write code here if(...
2022-10-07
0
210
题解 | #链表中倒数最后k个结点#
struct ListNode* FindKthToTail(struct ListNode* pHead, int k ) { // write co...
C
C++
2022-10-07
0
265
题解 | #二叉树的深度#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; ...
C++
C
2022-09-29
0
258
题解 | #买卖股票的最好时机(一)#
int maxProfit(int* prices, int pricesLen ) { // write code here  ...
C
C++
2022-09-28
0
240
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页