不想打工的赖床专家很想中彩票
不想打工的赖床专家很想中彩票
全部文章
分类
题解(6)
归档
标签
去牛客网
登录
/
注册
不想打工的赖床专家很想中彩票的博客
全部文章
(共6篇)
o(n)解法
import java.util.*; public class Solution { public ArrayList<Integer> FindNumbersWithSum(int [] array,int sum) { ArrayList<Integ...
2020-05-16
0
600
切割字符串拼接
public class Solution { public String LeftRotateString(String str,int n) { if (str == null || str.length() < 1) { return ""...
string
2020-05-16
0
556
超时解法
public class Solution { public int GetUglyNumber_Solution(int index) { int count = 0; int num = 0; while (count < index) {...
2020-05-16
0
425
基于树的深度来判断平衡二叉树
public class Solution { public boolean IsBalanced_Solution(TreeNode root) { if (root == null) { return true; } ...
二叉树深度
2020-05-06
0
531
java循环
import java.util.ArrayList; /** public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int...
2020-05-06
0
452
空间换时间的o(n)思路
import java.util.*; public class Solution { public void reOrderArray(int [] array) { if (array == null || array.length < 1) { ...
2020-01-06
0
461