昨天去現場面試了一個西雅圖五線公司, 記錄, 但願對各位看官有幫助.面試
問了三道算法題, 兩道 Naive, 一道 Medium( 還覺得是 Simple, 查了之後確認是 Medium).算法
究竟是西雅圖的公司, 比本地公司提升了一點難度.less
* Verfify if a string is Palindrom.ide
* Implement a queue by stack(s).this
* return nth Fibonacci sequence, do it in recursion and iterative. 是產品經理問的這道題,還能很快找到細微的邊際錯誤。你體會一下。spa
* SQL query, to get top 3 grade per class.rest
間隙休息, 會問你業餘時間幹什麼. A: 鍛鍊身體, 學作飯, 讀書, 遛狗.code
有個陷阱問題,是問你下班之後還打代碼嗎? 不能說不,也不能說是.ip
大部分時間集中在軟技能行爲問題:ci
* 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)
各講個故事。
Tell them you handled it like a champ
Talk about lessons learned
Craft strong answers, has a perfect ending story.
歡迎腦力風暴提供 behavioral questions 的素材和思路.
教訓: 不會的,不熟練的, 不要寫在簡歷上, 被深挖追問的時候,會尷尬.