李顺利plus
李顺利plus
全部文章
分类
题解(15)
归档
标签
去牛客网
登录
/
注册
李顺利plus的博客
全部文章
(共90篇)
题解 | #删除链表中重复的结点#
满足进阶时空复杂度OnOn的解法 public class Solution { public ListNode deleteDuplication(ListNode pHead)&nbs...
Java
2022-10-11
0
249
题解 | #在二叉树中找到两个节点的最近公共祖先#
class Solution { public: /** * * @param ...
C++
C
2022-10-10
0
264
题解 | #二叉树中和为某一值的路径(三)#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 &...
C
C++
2022-10-09
0
268
题解 | #二叉树中和为某一值的路径(一)#
class Solution { public: /** * * @param ...
C++
C
2022-10-09
0
259
题解 | #链表中环的入口结点#
class Solution { public: ListNode* EntryNodeOfLoop(ListNode* pHead) { &...
C++
C
2022-10-09
1
280
题解 | #判断是不是平衡二叉树#
class Solution { public: int ult=0,max=0; void dep(TreeNode* root,int h)...
C
C++
2022-10-09
0
264
题解 | #连续子数组的最大和#
class Solution { public: int FindGreatestSumOfSubArray(vector<int> array) { //这道题容易想...
C++
2022-10-09
0
186
题解 | #最长不含重复字符的子字符串#
int lengthOfLongestSubstring(char* s ) { // write code here int&nbs...
C
C++
2022-10-08
0
250
题解 | #构建乘积数组#
int* multiply(int* A, int ALen, int* returnSize ) { // write code here ...
C++
C
2022-10-08
0
198
题解 | #二叉搜索树的第k个节点#
void insert(struct TreeNode* root,int a[],int *x){ if(root->left!=NULL) insert(root->left,...
C
C++
2022-10-08
0
178
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页