昨天去现场面试了一个西雅图五线公司, 记录, 希望对各位看官有帮助.
问了三道算法题, 两道 Naive, 一道 Medium( 还以为是 Simple, 查了以后确认是 Medium).
到底是西雅图的公司, 比本地公司提高了一点难度.
* Verfify if a string is Palindrom.
* Implement a queue by stack(s).
* return nth Fibonacci sequence, do it in recursion and iterative. 是产品经理问的这道题,还能很快找到细微的边际错误。你体会一下。
* SQL query, to get top 3 grade per class.
间隙休息, 会问你业余时间干什么. A: 锻炼身体, 学做饭, 读书, 遛狗.
有个陷阱问题,是问你下班以后还打代码吗? 不能说不,也不能说是.
大部分时间集中在软技能行为问题:
* Tell Me About a Time You Made a Mistake? What is your biggest mistake? 说一个你犯过的错误?
* Give me an example of a time you did something wrong, and you didn't realize it. Your colleage point it out.
( you think you're right, 你做错事,自己没有认识到,被指出 )
A: When I batch clean up the database trigger, one line code that is setting the order date was deleted. A dev manager (my good friend at work) pointed out the cause could be a database trigger. I restore the old database backup, and found out that's my mistake purged the wrong line of code.
From then we enfore every database change must be version controled, also we started doing automated test for database changes. And then we never had this type of accident again.
* Tell Me About a Time You're right, but your colleague didn't agree.
* Tell me an example to work with a non-collaborative teammate ? (Conflict)
各讲个故事。
- Never say never
- Don’t blame others
-
Tell them you handled it like a champ
-
Talk about lessons learned
-
Craft strong answers, has a perfect ending story.
欢迎脑力风暴提供 behavioral questions 的素材和思路.
教训: 不会的,不熟练的, 不要写在简历上, 被深挖追问的时候,会尴尬.