猪猪向前冲
猪猪向前冲
全部文章
分类
未归档(4)
题解(70)
归档
标签
去牛客网
登录
/
注册
猪猪向前冲的博客
全部文章
(共75篇)
题解 | #有重复项数字的全排列#
class Solution { public: vector<vector<int> > permuteUnique(vector<int> &num)&n...
C++
2022-03-02
0
242
题解 | #没有重复项数字的全排列#
class Solution { public: vector<vector<int> > permute(vector<int> &num) { ...
C++
2022-03-02
0
269
题解 | #斐波那契数列#
class Solution { public: int Fibonacci(int n) { int&n...
C++
2022-02-28
0
184
题解 | #二叉搜索树的最近公共祖先#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; ...
C++
2022-02-28
0
235
题解 | #合并二叉树#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; ...
C++
2022-02-28
0
223
题解 | #在二叉树中找到两个节点的最近公共祖先#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; ...
C++
2022-02-28
0
192
题解 | #判断是不是平衡二叉树#
class Solution { public: bool IsBalanced_Solution(TreeNode* pRoot) { &n...
C++
2022-02-28
0
209
题解 | #二叉树的镜像#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; ...
C++
2022-02-28
0
205
题解 | #两数之和#
class Solution { public: /** * * @param ...
C++
2022-02-28
0
182
题解 | #对称的二叉树#
/* struct TreeNode { int val; struct TreeNode *left; ...
C++
2022-02-28
0
248
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页