Redian新闻
>
Two Sigma 面经 + 求问onsite之后多长时间给结果
avatar
Two Sigma 面经 + 求问onsite之后多长时间给结果# JobHunting - 待字闺中
c*7
1
面的是test 职位,做了debug test3小时 + NYC onsite 5轮,每轮一小时,总体感觉
还不错,所以还挺期待。上周三面完,请问何时能给结果...
Onsite Technical questions:
1. Judge whether a number is a cube number. (For example, 1,8,27), and
write test cases.
2. Basic sql question, join two tables.
Brain teasers.
1000 bottles of water, only one poison, how many write rats do you need to
find the poison within the shortest possible time.
On the earth, you walk 1 mile south, 1 mile east, 1mile north, then you find
you are in the same position. Find all these positions on the earth.
3. An array represents stock prices, find the best buy and sell time.
Write test cases.
Find bugs in a java program(bit operation, null, arraylist delete).
4. Complex sql questions, group by, sql functions(min, sum, max).
Write a program to parse a text file.
The file is as follows:
Company, time, price
Microsoft, 9:00, 35
Google, 10:00, 200
Microsoft, 9:05, 35
Google, 10:05, 200
….
Find the price for each company at the earliest time. So the result should
be:
Microsoft, 35
Google, 200
Also, write a unix bash to solve this problem, only one line bash.
How to test a phone?
5. An int array [1,2,3…..100], every number have only and if only one in
this array.
How to test it? Show the criterias. Write a program to test it.
Find all anagrams in a txt file. write test cases
暂时就能回忆起这么多,再补充吧,求bless...
avatar
g*e
2
bless!我昨天刚搞了他家的code test,不知多久会有回复?会不会模具?
另外这个walk的brain teaser我只能想到北极点,还有其他的吗?
avatar
S*e
3
还有一种是往南走1mile后,纬度圈的周长为1mile的点。应该有两圈这样的点。

【在 g*********e 的大作中提到】
: bless!我昨天刚搞了他家的code test,不知多久会有回复?会不会模具?
: 另外这个walk的brain teaser我只能想到北极点,还有其他的吗?

avatar
S*e
4
第4题,write a unix bash to solve this problem, only one line bash,这个怎么
弄?

find

【在 c********7 的大作中提到】
: 面的是test 职位,做了debug test3小时 + NYC onsite 5轮,每轮一小时,总体感觉
: 还不错,所以还挺期待。上周三面完,请问何时能给结果...
: Onsite Technical questions:
: 1. Judge whether a number is a cube number. (For example, 1,8,27), and
: write test cases.
: 2. Basic sql question, join two tables.
: Brain teasers.
: 1000 bottles of water, only one poison, how many write rats do you need to
: find the poison within the shortest possible time.
: On the earth, you walk 1 mile south, 1 mile east, 1mile north, then you find

avatar
c*g
5
caocao 好运
avatar
c*7
6
面的是test 职位,做了debug test3小时 + NYC onsite 5轮,每轮一小时,总体感觉
还不错,所以还挺期待。上周三面完,请问何时能给结果...
Onsite Technical questions:
1. Judge whether a number is a cube number. (For example, 1,8,27), and
write test cases.
2. Basic sql question, join two tables.
Brain teasers.
1000 bottles of water, only one poison, how many write rats do you need to
find the poison within the shortest possible time.
On the earth, you walk 1 mile south, 1 mile east, 1mile north, then you find
you are in the same position. Find all these positions on the earth.
3. An array represents stock prices, find the best buy and sell time.
Write test cases.
Find bugs in a java program(bit operation, null, arraylist delete).
4. Complex sql questions, group by, sql functions(min, sum, max).
Write a program to parse a text file.
The file is as follows:
Company, time, price
Microsoft, 9:00, 35
Google, 10:00, 200
Microsoft, 9:05, 35
Google, 10:05, 200
….
Find the price for each company at the earliest time. So the result should
be:
Microsoft, 35
Google, 200
Also, write a unix bash to solve this problem, only one line bash.
How to test a phone?
5. An int array [1,2,3…..100], every number have only and if only one in
this array.
How to test it? Show the criterias. Write a program to test it.
Find all anagrams in a txt file. write test cases
暂时就能回忆起这么多,再补充吧,求bless...
avatar
J*g
7

find
谢谢

【在 c********7 的大作中提到】
: 面的是test 职位,做了debug test3小时 + NYC onsite 5轮,每轮一小时,总体感觉
: 还不错,所以还挺期待。上周三面完,请问何时能给结果...
: Onsite Technical questions:
: 1. Judge whether a number is a cube number. (For example, 1,8,27), and
: write test cases.
: 2. Basic sql question, join two tables.
: Brain teasers.
: 1000 bottles of water, only one poison, how many write rats do you need to
: find the poison within the shortest possible time.
: On the earth, you walk 1 mile south, 1 mile east, 1mile north, then you find

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。