恒成立
恒成立
全部文章
题解
归档
标签
去牛客网
登录
/
注册
恒成立的博客
全部文章
/ 题解
(共11篇)
题解 | #对称的二叉树#
/* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = va...
二叉树
2021-09-09
0
383
题解 | #二叉树的镜像#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * public TreeNode(int v...
二叉树
2021-09-06
0
361
题解 | #平衡二叉树#
public class Solution { public static boolean flag = true; public boolean IsBalanced_Solution(TreeNode root) { if(root == null){ ...
二叉树
2021-09-06
0
390
题解 | #二叉树的深度#
/** public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = v...
二叉树
递归
2021-09-06
0
416
二叉树是否相等
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
二叉树
2021-03-28
0
593
二叉树之字形层序遍历
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
二叉树
2021-03-28
1
581
二叉树的最大深度
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
二叉树
2021-03-28
0
495
二叉树层次遍历
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
二叉树
BFS
2021-03-28
0
473
判断二叉树是否对称
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
二叉树
2021-03-28
2
654
二叉树前序遍历
非递归求解前序二叉树 import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ publi...
Java
二叉树
Leetcode
2021-03-27
2
1119
首页
上一页
1
2
下一页
末页