脸书电面面经

贡献一个 脸书intern 电面面经 及其 timeline
8月中旬收到hello from FB

两轮电面09/25:

第一轮:声音好听的美国妹纸: 离扣: 而易矣 跑test case 算时空间复杂度,面试官也说得用字典树

第二轮:中国大叔: 利口 伞伞 跑test case 算时空间复杂度

感觉第一题写code 写太慢了,答得不是很好!当时以为挂了,结果第二天 给了加面!

加面: 不知道某国的大叔,口音有点重,迟到了10分钟: 两道题
利口已散吧
利口而究其

跑test case 做复杂度分析,大叔还是比较认真,我每写一部分,他都问我为什么这么写,可以更简介优化, 对我用的每一个数据结构都问了下大致具体实现,可以用别的数据结构实现吗,不停的follow up一度以为我之前做的是错的。语速太快加上有语音,导致我很紧张。

感觉这一轮时间很紧张! 但好在打得比较快还是做完了!

上周末 HR通知过了technical 准备team match!!!!

总结教训:做题还是要用心做,至少遇到各种follow up不慌!! 感觉自己还是太浮于表面,导致follow up有时候会懵!! 有时候听不懂面试官的问题也是尴尬,可能还是缺乏经验, 得加强锻炼了

另外求个 team match 的群!!! 希望match 能顺利点!!

请问第一轮是212 还是211 hhhh

这个字好生僻 。。。。 怪我 是 1

请问testcase是口头test还是run code

口头!好像不能 run code! 其实我是把每一个变量一步一步 都写出来了!

祝贺楼主!就是你前面两轮,都只做了一道题咩?

对的 主要面试官问了很多相关的问题,讨论了数据结构什么的,就没时间做第二题了!

linkedin上hr联系,职位是Enterprise Engineer。周一电面,一天后通知过了。

面试官是印度小哥,上来先互相自我介绍,然后简单问了几句平时工作中用到什么技术,接着就开始做题了。一共两题:

蠡口衣尔酒。
给一个string s,如果s[i] == s[i]+1,移除这两个characwers,得到一个新的string,重复这个过程,返回最终的string。比如,

"aabbccd" -> "d"
"aabbac" -> "aaac" -> "ac"

第3题是1048?

我就只考了一题 https://leetcode.com/problems/monotonic-array/

QUESTION 1.
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome.

Example 1:

Input: “aba”
Output: True
Example 2:

Input: “abca”
Output: True
FOLLOW UP QUESTION
Given a non-empty string s, you may delete at most ‘K’ character. Judge whether you can make it a palindrome.

我考了这题 https://leetcode.com/problems/task-scheduler/
Given a list of input tasks to run, and the cooldown interval, output the minimum number of time slots required to run them.

Example:

Input: tasks = [1, 1, 2, 1, 2], cooldown = 2
Output: 8
Explanation: order is 1 _ _ 1 2 _ 1 2

请问有没有teammatch的群=。=好怕match不上啊啊啊