Cracking the Coding Interview : 189 Programming Questions and Solutions, 6/e (Paperback)

Gayle Laakmann McDowell



I am not a recruiter. I am a software engineer. And as such, I know what it's like to be asked to whip up brilliant algorithms on the spot and then write flawless code on a whiteboard. I've been through this as a candidate and as an interviewer.

Cracking the Coding Interview, 6th Edition is here to help you through this process, teaching you what you need to know and enabling you to perform at your very best. I've coached and interviewed hundreds of software engineers. The result is this book.

Learn how to uncover the hints and hidden details in a question, discover how to break down a problem into manageable chunks, develop techniques to unstick yourself when stuck, learn (or re-learn) core computer science concepts, and practice on 189 interview questions and solutions.

These interview questions are real; they are not pulled out of computer science textbooks. They reflect what's truly being asked at the top companies, so that you can be as prepared as possible. WHAT'S INSIDE?

  • 189 programming interview questions, ranging from the basics to the trickiest algorithm problems.
  • A walk-through of how to derive each solution, so that you can learn how to get there yourself.
  • Hints on how to solve each of the 189 questions, just like what you would get in a real interview.
  • Five proven strategies to tackle algorithm questions, so that you can solve questions you haven't seen.
  • Extensive coverage of essential topics, such as big O time, data structures, and core algorithms.
  • A behind the scenes look at how top companies like Google and Facebook hire developers.
  • Techniques to prepare for and ace the soft side of the interview: behavioral questions.
  • For interviewers and companies: details on what makes a good interview question and hiring process.






- 189個程式設計面試問題,從基礎到最棘手的演算法問題。
- 每個解答的詳細步驟,讓你學會如何自己解答問題。
- 解決每個問題的提示,就像在真實面試中得到的一樣。
- 五種有效的策略來應對演算法問題,讓你能夠解答你從未見過的問題。
- 涵蓋重要主題的廣泛內容,例如大O時間、資料結構和核心演算法。
- 了解頂尖公司如Google和Facebook如何招聘開發人員的幕後情況。
- 準備並應對面試中軟性問題的技巧。
- 面試官和公司:關於什麼構成一個好的面試問題和招聘過程的詳細資訊。