or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $5.78 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Cracking the Coding Interview: 150 Programming Questions and Solutions
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Cracking the Coding Interview: 150 Programming Questions and Solutions [Paperback]

Gayle Laakmann McDowell (Author)
4.9 out of 5 stars  See all reviews (69 customer reviews)

List Price: $39.95
Price: $26.37 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.58 (34%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Friday, May 25? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Paperback $26.37  
Sell Back Your Copy for $5.78
Whether you bought it on Amazon or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $5.78.
Used Price$24.52
Trade-in Price$5.78
Price after
Trade-in
$18.74

Book Description

August 22, 2011
Now in the 5th edition, Cracking the Coding Interview gives you the interview preparation you need to get the top software developer jobs. This is a deeply technical book and focuses on the software engineering skills to ace your interview. The book is over 500 pages and includes 150 programming interview questions and answers, as well as other advice. 

The full list of topics are as follows:

The Interview Process
This section offers an overview on questions are selected and how you will be evaluated. What happens when you get a question wrong? When should you start preparing, and how? What language should you use? All these questions and more are answered.

Behind the Scenes
Learn what happens behind the scenes during your interview, how decisions really get made, who you interview with, and what they ask you. Companies covered include Google, Amazon, Yahoo, Microsoft, Apple and Facebook.

Special Situations
This section explains the process for experience candidates, Program Managers, Dev Managers, Testers / SDETs, and more. Learn what your interviewers are looking for and how much code you need to know.

Before the Interview
In order to ace the interview, you first need to get an interview. This section describes what a software engineer's resume should look like and what you should be doing well before your interview.

Behavioral Preparation
Although most of a software engineering interview will be technical, behavioral questions matter too. This section covers how to prepare for behavioral questions and how to give strong, structured responses.

Technical Questions (+ 5 Algorithm Approaches)
This section covers how to prepare for technical questions (without wasting your time) and teaches actionable ways to solve the trickiest algorithm problems. It also teaches you what exactly "good coding" is when it comes to an interview.

150 Programming Questions and Answers
This section forms the bulk of the book. Each section opens with a discussion of the core knowledge and strategies to tackle this type of question, diving into exactly how you break down and solve it. Topics covered include 
  • Arrays and Strings
  • Linked Lists
  • Stacks and Queues
  • Trees and Graphs
  • Bit Manipulation
  • Brain Teasers
  • Mathematics and Probability
  • Object-Oriented Design
  • Recursion and Dynamic Programming
  • Sorting and Searching
  • Scalability and Memory Limits
  • Testing
  • C and C++
  • Java
  • Databases
  • Threads and Locks
For the widest degree of readability, the solutions are almost entirely written with Java (with the exception of C / C++ questions). A link is provided with the book so that you can download, compile, and play with the solutions yourself.

Changes from the Fourth Edition: The fifth edition includes over 200 pages of new content, bringing the book from 300 pages to over 500 pages. Major revisions were done to almost every solution, including a number of alternate solutions added. The introductory chapters were massively expanded, as were the opening of each of the chapters under Technical Questions. In addition, 24 new questions were added.

Cracking the Coding Interview, Fifth Edition is the most expansive, detailed guide on how to ace your software development / programming interviews.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $2 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Cracking the Coding Interview: 150 Programming Questions and Solutions + Programming Interviews Exposed: Secrets to Landing Your Next Job, 2nd Edition (Programmer to Programmer) + The Google Resume: How to Prepare for a Career and Land a Job at Apple, Microsoft, Google, or any Top Tech Company
Price For All Three: $60.03

Show availability and shipping details

Buy the selected items together


Editorial Reviews

From the Author

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 know because I've been asked to do the same thing--in interviews at Google, Microsoft, Apple, and Amazon, among other companies.

I also know because I've been on the other side of the table, asking candidates to do this. I've combed through stacks of resumes to find the engineers who I thought might be able to actually pass these interviews. And I've debated in Google's Hiring Committee whether or not a candidate did well enough to merit an offer. I understand and have experienced the full hiring circle.

And you, reader, are probably preparing for an interview, perhaps tomorrow, next week, or next year. You likely have or are working towards a Computer Science or related degree. I am not here to re-teach you the basics of what a binary search tree is, or how to traverse a linked list. You already know such things, and if not, there are plenty of other resources to learn them.

This book is here to help you take your understanding of Computer Science fundamentals to the next level, to help you apply those fundamentals to crack the coding interview. Because while the fundamentals are necessary to land one of the top jobs, they aren't always enough. For countless readers, this book has been just what they needed. 

About the Author

Gayle Laakmann McDowell is the founder / CEO of CareerCup.com and the author of The Google Resume: How to Prepare for a Career and Land a Job at Apple, Microsoft, Google, or any Top Tech Company.

Work Experience
Her interviewing expertise comes from vast experience on both sides of the desk. She has completed Software Engineering interviews with - and received offers from - Microsoft, Google, Amazon, Apple, IBM, Goldman Sachs, Capital IQ, and a number of other firms.

Of these top companies, she has worked for Microsoft, Apple and Google, where she gained deep insight into each company's hiring practices. 

Most recently, Gayle spent three years at Google as a Software Engineer and was one of the company's lead interviewers. She interviewed over 120 candidates in the U.S. and abroad, and, as a software engineer, led much of the recruiting for her alma mater, the University of Pennsylvania.

Additionally, she served on Google's Hiring Committee, where she reviewed each candidate's feedback and made hire / no-hire decisions. She assessed over 700 candidates in that role, and evaluated hundreds more resumes.

Education
Gayle holds a bachelor's and master's degree in Computer Science from the University of Pennsylvania and MBA from The Wharton School.

Product Details

  • Paperback: 508 pages
  • Publisher: CareerCup; 5th Revised & enlarged edition (August 22, 2011)
  • Language: English
  • ISBN-10: 098478280X
  • ISBN-13: 978-0984782802
  • Product Dimensions: 9 x 6 x 1 inches
  • Shipping Weight: 1.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.9 out of 5 stars  See all reviews (69 customer reviews)
  • Amazon Best Sellers Rank: #467 in Books (See Top 100 in Books)

More About the Author

Gayle Laakmann McDowell's interviewing expertise comes from vast experience on both sides of the desk. She has completed Software Engineering interviews with - and received offers from - Microsoft, Google, Amazon, Apple, IBM, Goldman Sachs, Capital IQ, and a number of other firms.

Of these top companies, she has worked for Microsoft, Apple and Google, where she gained deep insight into each company's hiring practices.

Most recently, Gayle spent three years at Google as a Software Engineer and was one of the company's lead interviewers. She interviewed over 120 candidates in the U.S. and abroad, and led much of the recruiting for her alma mater, the University of Pennsylvania.

Additionally, she served on Google's Hiring Committee, where she reviewed each candidate's feedback and made hire / no-hire decisions.

She assessed over 700 candidates in that role, and evaluated hundreds more resumes.

In 2005, Gayle founded CareerCup.com to bring her wealth of experience to candidates around the world. Launched first as a free forum for interview questions, CareerCup now offers a book, a video and mock interviews.

Gayle holds a bachelor's and master's degree in Computer Science from the University of Pennsylvania and an MBA from The Wharton School.

Customer Reviews

Most Helpful Customer Reviews
16 of 19 people found the following review helpful
Format:Paperback|Amazon Verified Purchase
Why are you even reading these reviews I ask? Just buy it. It's an investment and the return on investment is plenty-fold.

This book has detailed explanations on every single problem and the collection of problems is awesome. This should adequately prepare you for your tech interviews, right from explaining about the process, methods that you need to employ, skills that you should develop and most importantly has a wide range of topics covered in the interviews. It's not for those who start algorithms or data structures with a clean slate. It's for fine tuning your problem solving skills for interviews. But it's good to get one even if you are just beginning, to help you in the learning process.

For those who have version 4 (I have), you should buy it. Explanations are very detailed and it helps to understand the problems really well. And 24 new problems have been added.

For those who downloaded pirated v4 PDFs (if you are reading), seriously, gift this to someone if you have got your dream-job already or buy one for yourself. You owe it to the author's efforts.
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
A must have in your desk January 24, 2012
By AG
Format:Paperback
Cracking the coding interview is one book you should definitively have in your bookshelf, and you should keep reading it now and then.

I have a passion for reading and solving coding interview questions and never found such a detailed source of information.

The book starts with several suggestions on how preparing yourself for an interview. This is an aspect that many people underestimate, whilst having a well-written CV, a personal blog, and possibly a number of open source projects is definitively important. This book gives you a number of good suggestions.

Then there is long part discussing interview questions with a broad coverage of basic data structures, algorithms, programming languages, databases and threads and some advanced coding questions.

The style is concise and you can read each Chapter in isolation. Gayle made an amazing job in illustrating not just the solutions, but several techniques that you can use for solving new problems. Plus, those interview questions, the solutions and the techniques, are not just hypothetical but are very useful in your day by day life as Dev or Researcher.

I would suggest the author splitting the Chapter 7 "Mathematics and Probability" into two separate parts and expand both of them because they are very important during interviews and the current description is probably too synthetic. Also, a Chapter on String algorithms and another one on Parallel programming would be probably useful to have because people will look for them elsewhere.

Having said that, this is definitively a must have book and the money you spend will definitively generate a great return on the investment.

Thanks Gayle for writing it.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
By ginnie
Format:Paperback
If you are planning to appear for a technical interview at any big software-firm, I highly recommend studying this book.

When I started my preparation, the entire process seemed really daunting. There is so much to study, and there is vast amount of study-material available out there. I was really confused on what/how to prepare. A friend of mine suggested me this book and so I read it.

To summarize, this book is an awesome compilation of problems, strategies and approaches you must know for doing well in a Tech interview.

It starts with chapters focusing on non-coding aspects (company-info, resume, behavioral etc.). I feel that, thoroughly covering just these first 30 pages is suffice for doing well in the 'HR' parts of tech-interviews.

After that, it contains 150 questions grouped by categories, covering all the relevant areas. And finally it has useful information, solutions and discussions for all the questions.

Qu. "If I memorize solutions for all these questions, Can I crack an Interview?" Ans. No Way!
Rather, if you slog through these questions, learning techniques; I am sure you will be able to solve questions on that day.

Solving problems through the book, I learnt different [ingenious] approaches. And with practice, I was be able to [/tried to] identify patterns in new questions that I faced.

I particularly love 3 chapters- "Recursion", "Moderate Interview Problems", "Hard Interview Problems". Because they contain some really neat algorithms :)

Hope this review helps.. And all the best for your interview :)
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
content is informative and detailed + good customer service
Computer Science graduates recommend to me this book, saying that it is a must-have before I go to a coding interview. Read more
Published 1 day ago by appenthused
Finally a Way To REALLY Study for a Tech Interview
Many a time I have taken a tech interview, and as a tech manager of over 5 years I've given 50 fold more of them. Read more
Published 9 days ago by Irregardless
Useful for Anyone!
This is a wonderful book that I've found to be incredibly useful and fun. I'm not a software developer or a software engineer. Read more
Published 13 days ago by J. Hicks
Good book for interview questions
Good one! I already had Programming Interviews Exposed but this one surely compliments PIE. Lots of examples and tips. Read more
Published 17 days ago by Sukh
Most helpful interview resource ever
I used the ebook 2 years back to crack Microsoft Interview and I am using it yet again for another round of job search.
Published 1 month ago by SunnyInCali
Good Book For College Grads
I'm a senior graduating college and I had interviews at Facebook, Apple, Twitter, Amazon, and this book really helped a lot in preparing me for my interviews, as well as her... Read more
Published 1 month ago by Dude
I'd not get an offer without this book
The book is very true to the nature of technical interview, not too broad or too focus on any topics. Read more
Published 1 month ago by Chan
Excellent!
The condition is mint, the book is very educational and illuminating. I enjoyed going through it and the problems were helpful in my preparation for interviews. Fast delivery. Read more
Published 1 month ago by Irina
Excellent For Refreshing
I have not finished but a very good book for learning, refreshing and seeing what areas you are lacking in CS knowledge. Read more
Published 1 month ago by Incoming71
A great investment
Bought this book 3 weeks before interview. Read the book twice with careful hand-writing practice on each question. Got Amazon offer. Read more
Published 2 months ago by Larry
Search Customer Reviews
Only search this product's reviews

Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
What are the differences between 5th edition and 4th? 5 Dec 27, 2011
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject

Search Books by subject:



i.e., each book must be in subject 1 AND subject 2 AND ...