我不打朋友圈
我不打朋友圈
全部文章
分类
题解(359)
归档
标签
去牛客网
登录
/
注册
我不打朋友圈的博客
TA的专栏
204篇文章
0人订阅
我居南半坡
203篇文章
2272人学习
西坡之上一枯木
1篇文章
655人学习
全部文章
(共249篇)
题解 | #删除有序链表中重复的元素-II#
import java.util.*; /* public class ListNode { int val; ListNode next = null; } */ public class Solution { /** * * @param head ListNode类 * @return L...
Java
2021-12-17
0
377
题解 | #二叉搜索树的后序遍历序列#
public class Solution { public boolean VerifySquenceOfBST(int [] sequence) { int len = sequence.length; if(len == 0){ return false; } return help(sequ...
Java
2021-12-17
2
357
题解 | #树的子结构#
/** public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; } } */ public c...
Java
2021-12-17
0
402
题解 | #重建二叉树#
// / import java.util.Arrays; public class Solution { public TreeNode reConstructBinaryTree(int [] pre,int [] vin) { if (pre.length == 0 || vin.length...
Java
2021-12-17
0
327
题解 | #二叉搜索树的第k个节点#
import java.util.*; /* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; ...
Java
2021-12-17
0
344
题解 | #按之字形顺序打印二叉树#
import java.util.ArrayList; import java.util.Collections; /* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public ...
Java
2021-12-17
0
339
题解 | #最小的K个数#
import java.util.ArrayList; import java.lang.Math; import java.util.Arrays; public class Solution { public ArrayList GetLeastNumbers_Solution(int [] i...
Java
2021-12-16
0
246
题解 | #实现二叉树先序,中序和后序遍历#
import java.util.*; /* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; } */ public class Solution { /** * * @param...
Java
2021-12-16
0
288
题解 | #字符串压缩#
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args)...
Java
2021-12-16
0
420
题解 | #数字序列第n位的值#
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args)...
Java
2021-12-16
0
398
首页
上一页
15
16
17
18
19
20
21
22
23
24
下一页
末页