由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - Facebook Phone interview
相关主题
一个小公司面经Interview Question
Extension problem of finding intersection of two sorted array[合集] 请教个经典面试题的变种
一个特别的inplace merge two sorted arraysamazon tel interview
re: 面试归来,上面经回馈各位战友google电面2, 还就一个简单题
求一下这题解法。问一个amazon的数组排序题
哪里有讲k-way merge的?array contains two integer that sum up to 7
请教一下external sorting的问题算法面试题
刷题刷到没自信了amazon 二面情况诡异!
相关话题的讨论汇总
话题: arrays话题: facebook话题: phone话题: two话题: merge
进入JobHunting版参与讨论
1 (共1页)
s*********t
发帖数: 25
1
1 hour.
Not very hard. Two coding questions (write using a online collaborating tool
).
1 Merge two sorted int arrays into a third one.
2 Merge two sorted arrays into the first one, assuming the first one has
enough empty space to hold elements from both arrays.
e******a
发帖数: 176
2
for 2, start from the ends of the three arrays?

tool

【在 s*********t 的大作中提到】
: 1 hour.
: Not very hard. Two coding questions (write using a online collaborating tool
: ).
: 1 Merge two sorted int arrays into a third one.
: 2 Merge two sorted arrays into the first one, assuming the first one has
: enough empty space to hold elements from both arrays.

i**********e
发帖数: 1145
3
no need 3rd array...
use 2 pointers, start from the end of both arrays.
一些常见面试题的答案与总结 -
http://www.ihas1337code.com

【在 e******a 的大作中提到】
: for 2, start from the ends of the three arrays?
:
: tool

i**9
发帖数: 351
4
o,面试碰上这种题这是太舒服了。。。呵呵
h**********d
发帖数: 4313
5
请问楼主facebook是网投的吗,我投了几次都没反应,谢谢
s*********t
发帖数: 25
6
Yes. online submission

【在 h**********d 的大作中提到】
: 请问楼主facebook是网投的吗,我投了几次都没反应,谢谢
s*********t
发帖数: 25
7
Second round. Old questions
implement double sqrt(double d);
design a data structure to support push, pop, getMinimum all with O(1)
complexity.

tool

【在 s*********t 的大作中提到】
: 1 hour.
: Not very hard. Two coding questions (write using a online collaborating tool
: ).
: 1 Merge two sorted int arrays into a third one.
: 2 Merge two sorted arrays into the first one, assuming the first one has
: enough empty space to hold elements from both arrays.

j*****u
发帖数: 1133
8
classic questions in round 2 as well, you must did well.
thx for sharing!

【在 s*********t 的大作中提到】
: Second round. Old questions
: implement double sqrt(double d);
: design a data structure to support push, pop, getMinimum all with O(1)
: complexity.
:
: tool

x******y
发帖数: 361
9
wow, you had easy ones. Such good luck!

【在 s*********t 的大作中提到】
: Second round. Old questions
: implement double sqrt(double d);
: design a data structure to support push, pop, getMinimum all with O(1)
: complexity.
:
: tool

1 (共1页)
进入JobHunting版参与讨论
相关主题
amazon 二面情况诡异!求一下这题解法。
再问一个算法题。哪里有讲k-way merge的?
关于index的问题请教一下external sorting的问题
[emc/greenplum面试]senior engineer刷题刷到没自信了
一个小公司面经Interview Question
Extension problem of finding intersection of two sorted array[合集] 请教个经典面试题的变种
一个特别的inplace merge two sorted arraysamazon tel interview
re: 面试归来,上面经回馈各位战友google电面2, 还就一个简单题
相关话题的讨论汇总
话题: arrays话题: facebook话题: phone话题: two话题: merge