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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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
相关阅读
手提显示器坏了?PBO pps版本出来了!!!dell st2410b $159是个deal么现在哪里买台式电脑ATT并了T-Mobile怎么理解这个显示器真便宜可惜只有DVI-D接口。请教关于 foreign disk 的问题ssd真好... (转载)请教一下, usb cable请推荐一个120mm安静的风扇有人用Hamachi吗?什么NAS server比较好?有木有给鼠标定位的小软件?有人用NetGear的Home Media Network Storage吗?dd-wrt webflash总是不成功为何x201摔了之后速度变奇慢?求个做计算的配置瞎折腾。请教T60无线网卡设置什么midsize机箱静音?