牛客449560839号
牛客449560839号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客449560839号的博客
全部文章
/ 题解
(共7篇)
题解 | #二叉树的中序遍历#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * public TreeNode(int v...
Java
二叉树
2021-11-02
0
478
题解 | #对称的二叉树#
/* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = va...
Java
二叉树
2021-11-02
0
392
题解 | #二叉搜索树的第k个结点#
/* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = va...
Java
二叉树
2021-10-15
0
332
题解 | #二叉树的最大深度#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
二叉树
2021-10-08
0
357
题解 | #判断一棵二叉树是否为搜索二叉树和完全二叉树#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
二叉树
2021-10-04
1
394
题解 | #二叉树根节点到叶子节点的所有路径和#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
二叉树
2021-10-03
0
396
题解 | #重建二叉树#
* Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x;...
Java
二叉树
2021-10-02
0
398