叫什么都行呀
叫什么都行呀
全部文章
分类
归档
标签
去牛客网
登录
/
注册
叫什么都行呀的博客
全部文章
(共6篇)
题解 | #二叉搜索树的最近公共祖先#
int lowestCommonAncestor(struct TreeNode* root, int p, int q ) { // write&nb...
C
二叉树
递归
2022-10-04
0
231
题解 | #对称的二叉树#
bool isSymmetricalTree(struct TreeNode* pRoot, struct TreeNode* pRoot2) { if (pRoot&nb...
C
二叉树
递归
2022-10-04
0
230
题解 | #二叉树的镜像#
struct TreeNode* Mirror(struct TreeNode* pRoot ) { // write code here  ...
C
二叉树
递归
2022-10-01
0
190
题解 | #合并二叉树#
struct TreeNode* mergeTrees(struct TreeNode* t1, struct TreeNode* t2 ) { // ...
C
二叉树
递归
2022-10-01
0
225
题解 | #二叉树中和为某一值的路径(一)#
bool hasPathSum(struct TreeNode* root, int sum ) { // write code here ...
C
二叉树
栈
2022-09-30
0
316
题解 | #二叉树的最大深度#
int maxDepth(struct TreeNode* root ) { // write code here if&n...
C
二叉树
递归
2022-09-30
2
239