首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
Skye_kh
杭州电子科技大学
2019届
Java工程师
http://skye.fun/
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(6)
机器人的运动范围
0
回溯法 public int movingCount(int threshold, int rows, int cols) { if (threshold < 0 || rows < 0 || cols < 0){ return 0; ...
发表于 2018-06-14 15:57:10
矩阵中的路径
0
public boolean hasPath(char[] matrix, int rows, int cols, char[] str) { if (matrix == null || rows<1 || cols<1 || str == null){ ...
发表于 2018-06-14 11:20:04
滑动窗口的最大值
0
``` public ArrayList<Integer> maxInWindows(int [] num, int size) { ArrayList<Integer> maxValues = new ArrayList<>(); ...
发表于 2018-06-13 20:24:20
数据流中的中位数
0
private Queue<Integer> minHeap = new PriorityQueue<>(); private Queue<Integer> maxHeap = new PriorityQueue<>(Collections.rever...
发表于 2018-06-11 20:26:03
把数组排成最小的数
0
// 先定义两个数的大小规则,然后使用排序算法即可 public String PrintMinNumber(int [] numbers) { if (numbers == null || numbers.length == 0){ return &...
发表于 2018-05-19 09:35:25
最小的K个数
0
基于最大堆的实现 import java.util.ArrayList; import java.util.ArrayList; import java.util.Collections; import java.util.PriorityQueue; import java.util.Queue;...
发表于 2018-05-16 10:37:50
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题