首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
luochangan
东北大学
2016届
安卓工程师
Hacking,Thoughts.
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(18)
栈的压入、弹出序列
1
public static boolean IsPopOrder(int [] pushA,int [] popA) { boolean isPopOrder = false; if(pushA!=null&&popA!=null&&pus...
发表于 2015-09-08 20:42:38
包含min函数的栈
1
public class Solution { //数据栈 Stack<Integer> data = new Stack<Integer>(); //辅助栈 Stack<Integer> min = new Stack<I...
发表于 2015-09-08 11:10:10
数值的整数次方
1
public class PowerSolution { public static double Power(double base, int exponent) { //当底数为0,指数小于0,则为非法情况。 if (equal(base,0.0)&&ex...
发表于 2015-08-25 10:36:58
二进制中1的个数
3
/** * 思路:将n与n-1想与会把n的最右边的1去掉,比如 * 1100&1011 = 1000 * 再让count++即可计算出有多少个1 * @author skyace * */ public class CountOne { public static int N...
发表于 2015-08-24 21:38:16
二维数组中的查找
1
public static boolean Find(int[][] arr, int target) { if (arr == null) { return false; } boolean find = false; // 总行数 int row = arr.leng...
发表于 2015-08-24 17:06:13
调整数组顺序使奇数位于偶数前面
1
publicclassSolution { publicstaticvoidreOrderArray(int[] arr) { inti,j,target; for(i = 1; i< arr.length; i++) { ...
发表于 2015-08-18 00:03:07
从尾到头打印链表
6
public class LinkedList { public static ArrayList<Integer> printListFromTailToHead(ListNode listNode) { ListNode list = new ListNode(0)...
发表于 2015-08-06 16:03:19
重建二叉树
2
public class Solution { public static TreeNode reConstructBinaryTree(int [] pre,int [] in) { if(pre==null||in==null){ return n...
发表于 2015-08-05 12:30:16
清除行列
63
//楼上的Java版本有点复杂,写了个简单点的。 publicclassClearer { publicint[][] clearZero(int[][] mat, intn) { // write code here boolean[] rowArray =...
发表于 2015-07-29 23:46:13
下列关于802.1Q协议实现什么功能及和ISL区别描述错误的是?
8
802.1Q协议和ISL协议 这两个都是交换机运载VLAN信息的VTP协议,最大的区别就是ISL是cisco私有的。802.1q是IEEE制定的公共标准。ISL只能在思科设备上运行。
发表于 2015-07-28 20:14:32
首页
上一页
1
2
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题