永往直前
永往直前
全部文章
分类
题解(26)
归档
标签
去牛客网
登录
/
注册
永往直前的博客
全部文章
(共151篇)
题解 | #二叉树的镜像#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * public TreeNode(int v...
2023-02-07
0
233
题解 | #合并二叉树#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
2023-02-07
0
229
题解 | #对称的二叉树#
/* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = va...
2023-02-07
0
255
题解 | #二叉搜索树与双向链表#
import java.util.*; /** public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { ...
2023-02-07
0
272
题解 | #二叉树中和为某一值的路径(一)#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
2023-02-07
0
229
题解 | #二叉树的最大深度#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
2023-02-07
0
240
题解 | #求二叉树的层序遍历#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
2023-02-07
0
334
题解 | #二叉树的后序遍历#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * public TreeNode(int v...
2023-02-07
0
255
题解 | #二叉树的中序遍历#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * public TreeNode(int v...
2023-02-07
0
284
题解 | #旋转数组的最小数字#
import java.util.ArrayList; public class Solution { public int minNumberInRotateArray(int [] arr) { if (arr == null || arr.length == 0) { ...
2023-02-06
0
218
首页
上一页
7
8
9
10
11
12
13
14
15
16
下一页
末页