首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
offerofferoffer在哪里
门头沟学院
2020届
C++工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(9)
牛牛的闹钟
0
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nex...
发表于 2019-07-31 14:31:42
迷路的牛牛
0
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextI...
发表于 2019-07-30 23:30:10
滑动窗口的最大值
0
import java.util.*; public class Solution { public ArrayList<Integer> maxInWindows(int [] num, int size) { ArrayList<Integer&...
发表于 2019-05-11 23:30:37
第一个只出现一次的字符
0
public class Solution { public int FirstNotRepeatingChar(String str) { if(str.length()==0||str==null)return -1; char[] c = str.toC...
发表于 2019-04-26 16:15:41
整数中1出现的次数(从1到n整数中1出现的次数)
0
public class Solution { public int NumberOf1Between1AndN_Solution(int n) { if(n==0) return 0; int count = 0; while(n>0)...
发表于 2019-04-16 15:57:17
字符串的排列
0
利用回溯法来进行排列,其中引入一个数组来去重 import java.util.ArrayList; public class Solution { public ArrayList<String> Permutation(String str) { Arr...
发表于 2019-03-31 15:48:37
复杂链表的复制
0
/* public class RandomListNode { int label; RandomListNode next = null; RandomListNode random = null; RandomListNode(int label){ ...
发表于 2019-03-31 10:52:37
Java抽象类和接口的区别?
0
接口可以看成是抽象类的一个特例。是比抽象类该抽象的一种形式。抽象类中可以有非抽象方法,构造方法,静态方法。但是接口不可以,接口只能用public修饰。但是抽象类可以默认访问权限。
发表于 2019-02-26 00:30:22
要使某个类能被同一个包中的其他类访问,但不能被这个包以外的类访问,可以( )
0
默认就是在同一个包能够被访问 ??
发表于 2019-01-01 09:10:07
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题