首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
fangqi_方其
门头沟学院
2020届
Java工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(49)
最长的可整合子数组的长度
3
import java.util.*; public class Main { public static void main(String[] arg) { Scanner sc = new Scanner(System.in); int n = sc....
发表于 2019-09-19 10:38:41
在行列都排好序的矩阵中找指定的数
0
import java.util.*; // public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = ...
发表于 2019-09-19 09:40:23
第一个只出现一次的字符
0
public class Solution { static class Node { Node next; Integer idx; Integer count; public Node(Node next, Integer...
发表于 2019-08-28 08:50:47
矩阵中的路径
0
import java.util.*; public class Solution { int r = 0; int c = 0; class Point { int x = 0; int y = 0; public P...
发表于 2019-07-21 20:52:07
数据流中的中位数
0
import java.util.*; public class Solution { static class MinFirstComparator implements Comparator<Integer>{ public int compare(In...
发表于 2019-07-20 21:42:03
序列化二叉树
0
来个层序的序列化和反序列化.~ public class Solution { String Serialize(TreeNode root) { if (root == null) { return ""; } ...
发表于 2019-07-20 15:47:21
把二叉树打印成多行
0
public class Solution { public ArrayList<ArrayList<Integer> > Print(TreeNode pRoot) { if (pRoot== null){ ...
发表于 2019-07-20 14:34:23
按之字形顺序打印二叉树
0
public ArrayList<ArrayList<Integer> > Print(TreeNode pRoot) { if (pRoot== null){ return new ArrayList<Array...
发表于 2019-07-20 14:32:41
二叉树的下一个结点
0
public TreeLinkNode GetNext(TreeLinkNode pNode) { //左中右 if (pNode == null){ return null; } TreeLinkNo...
发表于 2019-07-20 13:21:58
和为S的两个数字
0
import java.util.ArrayList; public class Solution { public ArrayList<Integer> FindNumbersWithSum(int [] array,int sum) { ArrayList&l...
发表于 2019-04-19 10:49:25
首页
上一页
1
2
3
4
5
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题