首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
春天画花卉副校长
上海大学
2016届
Java工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(29)
基本字符串压缩
0
import java.util.*; public class Zipper { public String zipString(String iniString) { // write code here int len = iniString.leng...
发表于 2015-11-05 11:00:01
机器人的运动范围
10
public class Solution { public int movingCount(int threshold, int rows, int cols) { int[][] flag = new int[rows][cols]; return mov...
发表于 2015-10-19 08:43:43
滑动窗口的最大值
1
import java.util.*; public class Solution { public ArrayList<Integer> maxInWindows(int [] num, int size) { ArrayList<Integer&...
发表于 2015-10-18 10:12:14
数据流中的中位数
8
import java.util.*; public class Solution { ArrayList<Integer> al = new ArrayList<Integer>(); public void Insert(Integer num) { ...
发表于 2015-10-18 00:27:59
序列化二叉树
110
/* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = va...
发表于 2015-10-17 11:43:12
把二叉树打印成多行
2
import java.util.ArrayList; import java.util.Queue; import java.util.LinkedList; /* public class TreeNode { int val = 0; TreeNode left = nul...
发表于 2015-10-17 10:49:14
按之字形顺序打印二叉树
1
import java.util.*; /* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { ...
发表于 2015-10-17 10:16:30
对称的二叉树
1
public class Solution { boolean isSymmetrical(TreeNode pRoot) { if(pRoot == null){ return true; } return s...
发表于 2015-10-16 10:27:57
二叉树的下一个结点
1
public class Solution { TreeLinkNode GetNext(TreeLinkNode node) { if(node == null){ return null; } //如...
发表于 2015-10-16 10:01:19
链表中环的入口结点
1
/* public class ListNode { int val; ListNode next = null; ListNode(int val) { this.val = val; } } */ public class Solution {...
发表于 2015-10-16 09:22:25
首页
上一页
1
2
3
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题