linkedin上投的简历,面试用的google hangouts,总共将近四个小时(妈呀),一共三轮。
第一轮
给一个file里面有三道题,每道题都给了基本的skeleton和test cases,给一个小时,要求把那些题都做完然后最后整个file要在自己电脑上compile and run
前两题很简单就不赘述了。第三题是一个game,涉及到一个board,要求补全主要的game logic包括check valid move, calculate score, check game status等。这里最关键的是他的set up里面board[x][y]是col x, row y, not the other way around.因为这个卡了很久。
第二轮
给了一个很简单的类似于fibonacci number的题,先写了一个recursive,问了一边space & time complexity,然后又写了一个iterative,又问了space & time complexity
然后还问了一些关于语言的问题,问到oop里面public, private和protected的区别,lz用python太久有点忘记了。。。然后还问我java和python run的方式有什么不同,lz是老实人直接说不知道。。。
第三轮
oop design,要求model一个family tree,然后又给了两个model要求讨论pros and cons
然后问了几个behavioral
- a situation of technical difficulty
- a time when you went above and beyond the call of duty and did more than what was required of you
- what are you looking for in an internship
总的来说是一个pleasant experience, 面试官都很nice,lz recruiting season第一个interview, 有没有offer也无所谓了,发条面经求点人品吧