本周三面试了一次HP的globe部门,整个过程自己感觉特别糟糕。总结了一下经验,1.不能把自己平时做的东西,很好的用语言描述出来2.技术点其实都会,但是不了解对方问题的意思,所以没能很好的回答对方的问题。比如问对方dialog有几个事件,我只记得有pai,pbo。其实f1和f4事件也是。但是我没有意...
分类:
Web程序 时间:
2014-07-06 23:43:14
阅读次数:
223
//题目:输入两个正整数m和n,求其最大公约数和最小公倍数。 package com.mumu.ready;import java.util.Scanner;public class Multiple { public static void main(String[] args) { Scann....
分类:
其他好文 时间:
2014-07-05 19:18:33
阅读次数:
229
Publishing failed with multiple errors在使用eclipse发布项目时不能自动生成class文件,且无法启动调试的Tomcat服务。启动过程提示 以上 异常解决方案:刷新工程即可问题产生原因:使用了 转码工具对代码进行格式转换,后启动就提起Publishing f...
分类:
其他好文 时间:
2014-07-05 18:38:23
阅读次数:
239
*&---------------------------------------------------------------------**& Report Z_BARRY_TEST_XML*&--------------------------------------------------...
分类:
其他好文 时间:
2014-07-05 18:26:02
阅读次数:
244
UVA 11246 - K-Multiple Free set
题目链接
题意:一个{1..n}的集合,求一个子集合,使得元素个数最多,并且不存在有两个元素x1 * k = x2,求出最多的元素个数是多少
思路:推理一下,
一开始n个
先要删除k倍的,删除为{k, 2k, 3k, 4k, 5k, 6k...},会删掉多余的k^2,因此在加回k^2倍的数
然后现在集合中会出现...
分类:
其他好文 时间:
2014-07-05 10:54:51
阅读次数:
206
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-07-03 23:51:47
阅读次数:
408
上一篇介绍了Volley的使用,主要接触了Request与RequestQueue这两个类,这篇就来了解一下这两个类的具体实现。Request类图:Request类: Request是一个抽象类,其中的主要属性:mMethod: 请求方法,目前支持GET, POST, PUT, DELETE, HE...
分类:
移动开发 时间:
2014-07-03 18:52:31
阅读次数:
357
Pick-up sticks
Problem Description
Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks,...
分类:
其他好文 时间:
2014-07-02 15:29:53
阅读次数:
295
转自:http://robert.penz.name/658/howto-access-mtp-devices-via-usb-on-ubuntu-12-04/ A friend asked me how he can access his Nexus 7 device via USB on hi....
分类:
其他好文 时间:
2014-07-02 13:51:19
阅读次数:
289
JPMorgan Chase's Jamie Dimon Says He Has Curable CancerJPMorgan Chase CEO Jamie Dimon told his employees and shareholders Tuesday that he has curable ...
分类:
其他好文 时间:
2014-07-02 10:30:55
阅读次数:
193