Home size# Living
s*f
1 楼
面试了很多,有一个offer,不过没赶上H1B。我懒,一直没总结,多数问题板上都有。
慢慢更新帖子列出来,不列公司名。
1. 正则表达式匹配字符串,包含 *, ?
2. give u a function IsBad(item) and an array: good, good, .., bad, bad, ...
always bad, find out first bad
3. design a data structure, support 2 functions: Insert and GetMedian.
4. give a matrix, sorted as follow, M[i][col - 1] < M[i + 1][0]
1 3 4
5 6 8
10 14 16
write function: bool Find(int k)
5. linkedin经典format文本题,我居然没复习到,真得给h1b进度逼死了
6. write function: search(keywords). you have invert table, return top10
back with simple rank strategy.
7. strstr
8. system have 1 billion user, each user have hundreds of email addresses.
how to store them.
9. network concept, like flow control.
10. about testing large scare system
11. 螺旋打印
12. give "god like dog, not odg" and "dog", return "god", "dog" and "odg"
13. 树的宽度遍历
14. give an int array, sort it into: 1st biggest, 1st smallest, 2nd biggest,
2nd smallest, 3rd biggest, 3rd smallest, ....
15. 反转链表
16. 成对反转链表:1->2->3->4 to 2->1->4->3
17. give an int array, find 2 number a, b, so that a * b = k
18. multi merge sort
慢慢更新帖子列出来,不列公司名。
1. 正则表达式匹配字符串,包含 *, ?
2. give u a function IsBad(item) and an array: good, good, .., bad, bad, ...
always bad, find out first bad
3. design a data structure, support 2 functions: Insert and GetMedian.
4. give a matrix, sorted as follow, M[i][col - 1] < M[i + 1][0]
1 3 4
5 6 8
10 14 16
write function: bool Find(int k)
5. linkedin经典format文本题,我居然没复习到,真得给h1b进度逼死了
6. write function: search(keywords). you have invert table, return top10
back with simple rank strategy.
7. strstr
8. system have 1 billion user, each user have hundreds of email addresses.
how to store them.
9. network concept, like flow control.
10. about testing large scare system
11. 螺旋打印
12. give "god like dog, not odg" and "dog", return "god", "dog" and "odg"
13. 树的宽度遍历
14. give an int array, sort it into: 1st biggest, 1st smallest, 2nd biggest,
2nd smallest, 3rd biggest, 3rd smallest, ....
15. 反转链表
16. 成对反转链表:1->2->3->4 to 2->1->4->3
17. give an int array, find 2 number a, b, so that a * b = k
18. multi merge sort