hp smb 重新charge了,有啥希望么?# PDA - 掌中宝
s*e
1 楼
昨天面完facebook第二轮,两次的面试题如下:
第一轮:
1. atoi, write exact code
2. 电话键盘上每个数字对应一系列字母,给任意长度电话号码,打印所有可能字母组
合。基本就是PIE
上的原题
第二轮:
1. Two sorted array, find their intersection, write exact code
2. Part of a sorted array is shifted, like:
1 2 3 4 5 6--> 6 5 1 2 3 4
but we don't know how many digits are shifted. Write a efficient method to
find the position of a given value in the array.
第一轮:
1. atoi, write exact code
2. 电话键盘上每个数字对应一系列字母,给任意长度电话号码,打印所有可能字母组
合。基本就是PIE
上的原题
第二轮:
1. Two sorted array, find their intersection, write exact code
2. Part of a sorted array is shifted, like:
1 2 3 4 5 6--> 6 5 1 2 3 4
but we don't know how many digits are shifted. Write a efficient method to
find the position of a given value in the array.