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
相关阅读
ASUS NT-56U连接外置usb硬盘经常断线?看了一分钟,不带重样的【卖】2*4G 1333的金士顿笔记本内存问个技术问题, 笔记本电脑 无线网络大屏笔记本电脑请教【出售】全新 三星840 pro SSD 256GB $195 shipped.forward 相同端口到两台电脑能这样实现吗VPN很简单啊,能刷DDWRT的路由器基本都行Helix会出Haswell的版本么? (转载)win8搞晕了什么样的屏幕对眼睛伤害小用了WEBMIN,总算让神座的SAMBA正常运行了出门2周回来电脑死了。今天奢侈的买了Netgear R7000Tomato / DDWRT有没有HSPA上网的功能? (转载)再问关于i7和xeon的cpu装机咯装机咯,大牛帮看看吧!紧急求推荐无线router,N-16翘了现在买lenovo从哪儿进?听说10 29号 可以 下蛋 T440S X240 etc