j*l
2 楼
1. If you have 1 million integers, how would you sort them efficiently?
Modify a specific sorting algorithm to solve this.
2. Given a file of 4 billion 32-bit integers, how to find one that appears
at least twice? 分成若干段查找?
3. Find or determine non-existence of a number in a sorted list of N numbers
where the numbers range over M, M >> N and N large enough to span multiple
disks. Find algorithm to beat O(logn). Bonus points for constant time
algorithm.
4. You are given a small sorted list of numb
Modify a specific sorting algorithm to solve this.
2. Given a file of 4 billion 32-bit integers, how to find one that appears
at least twice? 分成若干段查找?
3. Find or determine non-existence of a number in a sorted list of N numbers
where the numbers range over M, M >> N and N large enough to span multiple
disks. Find algorithm to beat O(logn). Bonus points for constant time
algorithm.
4. You are given a small sorted list of numb
c*l
3 楼
1、I asked God for a bike,
but I know God doesn't work that way. So I stole
a bike and asked for forgiveness.
开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
辆然后求上帝宽恕。
2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
and yelling like the passengers in his car.
我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
一样死法啊!
3、Do not argue with an idiot. He will drag you down to his level and beat y
ou with experience.
你永远不能战胜一个纯傻逼,因为他会把你的智商拉到跟他个水平,然后用丰富的经验打
败你!
4、The last thing I want to do is hu
but I know God doesn't work that way. So I stole
a bike and asked for forgiveness.
开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
辆然后求上帝宽恕。
2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
and yelling like the passengers in his car.
我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
一样死法啊!
3、Do not argue with an idiot. He will drag you down to his level and beat y
ou with experience.
你永远不能战胜一个纯傻逼,因为他会把你的智商拉到跟他个水平,然后用丰富的经验打
败你!
4、The last thing I want to do is hu
d*1
4 楼
性能没的说 7.9 用到目前也挺稳定
可是老有滋滋的电流声 一般几分钟到十几分钟来一下 安静的时候很烦 虽然是小问题
另外一个金士顿的垃圾ssd就没有这个问题 虽然只有7.1 一点声音也没有
放狗了下 不止一个有这问题 榜上好像有人也有
是不是没办法解决?
看来金无足金啊
可是老有滋滋的电流声 一般几分钟到十几分钟来一下 安静的时候很烦 虽然是小问题
另外一个金士顿的垃圾ssd就没有这个问题 虽然只有7.1 一点声音也没有
放狗了下 不止一个有这问题 榜上好像有人也有
是不是没办法解决?
看来金无足金啊
t*d
5 楼
没错
m*g
6 楼
第一题如果没有特别范围的话,只是1million的话可以直接在内存里面搞了。
第二题,32bit的int,一共也就4billion多点。是否可以二分法。
第三提不知
第四 二分
第二题,32bit的int,一共也就4billion多点。是否可以二分法。
第三提不知
第四 二分
i*i
7 楼
God must love stupid people. He made SO many.
这个够狠。。。
screaming
乘客
y
【在 c***l 的大作中提到】
: 1、I asked God for a bike,
: but I know God doesn't work that way. So I stole
: a bike and asked for forgiveness.
: 开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
: 辆然后求上帝宽恕。
: 2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
: and yelling like the passengers in his car.
: 我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
: 一样死法啊!
: 3、Do not argue with an idiot. He will drag you down to his level and beat y
这个够狠。。。
screaming
乘客
y
【在 c***l 的大作中提到】
: 1、I asked God for a bike,
: but I know God doesn't work that way. So I stole
: a bike and asked for forgiveness.
: 开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
: 辆然后求上帝宽恕。
: 2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
: and yelling like the passengers in his car.
: 我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
: 一样死法啊!
: 3、Do not argue with an idiot. He will drag you down to his level and beat y
g*0
9 楼
Agree!
So, anybody single or available?
So, anybody single or available?
j*l
10 楼
第四题是否要用到B-树呢?
a*e
11 楼
不叫“脏了”。。。是 they are both full of sh*t
be changed regularly, and for the same reason.
【在 c***l 的大作中提到】
: 1、I asked God for a bike,
: but I know God doesn't work that way. So I stole
: a bike and asked for forgiveness.
: 开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
: 辆然后求上帝宽恕。
: 2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
: and yelling like the passengers in his car.
: 我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
: 一样死法啊!
: 3、Do not argue with an idiot. He will drag you down to his level and beat y
be changed regularly, and for the same reason.
【在 c***l 的大作中提到】
: 1、I asked God for a bike,
: but I know God doesn't work that way. So I stole
: a bike and asked for forgiveness.
: 开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
: 辆然后求上帝宽恕。
: 2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
: and yelling like the passengers in his car.
: 我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
: 一样死法啊!
: 3、Do not argue with an idiot. He will drag you down to his level and beat y
a*e
12 楼
这里会做菜的女生基本都是人妻
只有会做菜的男单身,没人要
只有会做菜的男单身,没人要
y*c
13 楼
For 4, use binary search. Find the disk first and if lower bound and upper
bound are close enough and in one disk. We can bring them into memory.
Hi, jntl, do you mind zz or copy your post in 面试高手俱乐部? that one is
focused on the CS interview questions.
bound are close enough and in one disk. We can bring them into memory.
Hi, jntl, do you mind zz or copy your post in 面试高手俱乐部? that one is
focused on the CS interview questions.
a*e
14 楼
狗娘养的。。。怎么变成草泥马了呢
【在 c***l 的大作中提到】
: 1、I asked God for a bike,
: but I know God doesn't work that way. So I stole
: a bike and asked for forgiveness.
: 开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
: 辆然后求上帝宽恕。
: 2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
: and yelling like the passengers in his car.
: 我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
: 一样死法啊!
: 3、Do not argue with an idiot. He will drag you down to his level and beat y
【在 c***l 的大作中提到】
: 1、I asked God for a bike,
: but I know God doesn't work that way. So I stole
: a bike and asked for forgiveness.
: 开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
: 辆然后求上帝宽恕。
: 2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
: and yelling like the passengers in his car.
: 我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
: 一样死法啊!
: 3、Do not argue with an idiot. He will drag you down to his level and beat y
j*l
16 楼
c*o
19 楼
不错。
screaming
乘客
y
【在 c***l 的大作中提到】
: 1、I asked God for a bike,
: but I know God doesn't work that way. So I stole
: a bike and asked for forgiveness.
: 开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
: 辆然后求上帝宽恕。
: 2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
: and yelling like the passengers in his car.
: 我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
: 一样死法啊!
: 3、Do not argue with an idiot. He will drag you down to his level and beat y
screaming
乘客
y
【在 c***l 的大作中提到】
: 1、I asked God for a bike,
: but I know God doesn't work that way. So I stole
: a bike and asked for forgiveness.
: 开始我直接求上帝赐辆自行车。后来我琢磨上帝办事儿不是这个路数。于是老子偷了一
: 辆然后求上帝宽恕。
: 2、I want to die peacefully in my sleep, like my grandfather.. Not screaming
: and yelling like the passengers in his car.
: 我希望能像爷爷那样,安静地在睡梦中死去…… 而不是要像他开的车上那些惨叫滴乘客
: 一样死法啊!
: 3、Do not argue with an idiot. He will drag you down to his level and beat y
相关阅读
刚才去it那里捡了两个键盘。T410的电池没法充电Kinect 如何在无灯光的较暗的房间工作?? (转载)好,很好硬盘上的bad block还有救没?现在是买ipad2的时候吗准备入个i7 980了Dell Inspiron 1525 不能开机, 求助跳了DELL AUR3 I7 2600,Geforce GTX 580 @$797求助,奇怪的问题有哪些laptop支持双硬盘的?内存已经韩国泡菜价了Comcast 6M的带宽下载和上传速度应该是多少?装机求教一个ide的DVD RW不work了.请问如何debug?A deal on Inspiron 560请问互联网播放器有啥推荐的吗?求个AMD亮机板搞两个这样的显示器看paper、编程应该不错吧MSI GTX460 1gb HAWK $100 FS AR