首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
牛客490436号
浙江工大
2017届
Java工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(8)
两个链表的第一个公共结点
0
public class Solution { public ListNode FindFirstCommonNode(ListNode pHead1, ListNode pHead2) { int n = 0,m=0; ListNode l1 = pHead1; ListNo...
发表于 2016-09-03 17:12:42
电话字母的组合
0
import java.util.*; public class Solution { public String[] strs = {"abc","def","ghi","jkl","mno"...
发表于 2016-08-22 15:19:20
虚存容量仅受外存容量的限制。
0
虚存容量=min(内存容量+外存容量,2^N)(N为计算机的地址总线的长度) 也受寻找地址影响
发表于 2016-08-05 15:20:01
二叉搜索树与双向链表
0
public TreeNode Convert(TreeNode pRootOfTree) { if(pRootOfTree == null) return null; TreeNode cur = subConvert(pRootOfTree); ...
发表于 2016-04-25 20:58:30
数值的整数次方
0
import java.util.Vector; public class Solution { public void reOrderArray(int [] array) { Vector<Integer> v1 = new Vector&l...
发表于 2016-04-11 21:48:28
二进制中1的个数
0
public int NumberOf1(int n) { int result = 0; String a = Integer.toBinaryString(n); char[] arr = ...
发表于 2016-04-11 20:36:28
斐波那契数列
0
public class Solution { public int Fibonacci(int n) { if(n == 0) return 0; if(n == 1) return 1; //使用递归 太耗时间 // int result =...
发表于 2016-04-07 22:12:13
替换空格
0
public String replaceSpace(StringBuffer str) { String result = ""; String s = str.toString(); //无法运行通过 “How ” // ...
发表于 2016-04-06 20:42:23
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题