Goodreads helps you keep track of books you want to read.
Start by marking “Cracking the Coding Interview: 150 Programming Questions and Solutions” as Want to Read:
Cracking the Coding Interview: 150 Programming Questions and Solutions
Enlarge cover
Rate this book
Clear rating
Open Preview

Cracking the Coding Interview: 150 Programming Questions and Solutions

4.35  ·  Rating details ·  4,971 ratings  ·  203 reviews

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 topi

...more
Paperback, 5th Revised and enlarged, 500 pages
Published August 1st 2011 by Createspace (first published October 14th 2008)
More Details... Edit Details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Cracking the Coding Interview, please sign up.
Popular Answered Questions
Miranda it's a very popular book to help prep for interviews.
So, you have to be aware that there's a possibility that some people might have already read thro…more
it's a very popular book to help prep for interviews.
So, you have to be aware that there's a possibility that some people might have already read through the book.
A large majority of the book are algorithmic and coding questions in the pattern of what you would see in a technical interview.
It could be a great idea to discuss solutions to problems everyone has a bit of trouble with and help each other out(less)

Community Reviews

Showing 1-30
Average rating 4.35  · 
Rating details
 ·  4,971 ratings  ·  203 reviews


More filters
 | 
Sort order
Start your review of Cracking the Coding Interview: 150 Programming Questions and Solutions
Zeyuan Hu
Feb 01, 2015 rated it liked it  ·  review of another edition
Shelves: cs
This makes me not want to be a programmer or a developer.
Rod Hilton
Indispensable.

I absolutely hate the way technical interviews are done for programmers. Can you imagine if a heart surgeon went to interview at a hospital, and they handed him a game of "Operation" to play? That's how we interview programmers. It's so stupid, I could go on and on about it for paragraphs.

But, if you want to work at the top tech companies in the world, you have to play the game, incredibly stupid and poorly aligned it is to the task at hand. And if you're about to head out on some
...more
Morgane
Aug 04, 2014 rated it liked it
I suppose it's fair to say I'll never quite be "finished" reading this, but regardless, I have an opinion of it.

Laakmann (McDowell? Which last name do I choose?) does a thorough job of breaking down different kinds of interview questions, from brain teasers to OO questions, and there's a good breadth of difficulty as well. My only gripe is that it seems like this book is more for the Java-enthusiast programmer who is dying to interview at Microsoft, rather than... anyone else. It doesn't help th
...more
Maxim Perepelitsyn
Nov 29, 2015 rated it it was ok
I am very negative about hiring practices in the US software industry, where often for a pizza delivery kind of job they interview as if they need a space ship pilot. And this book and many similar ones are culmination of this flawed approach, that forces people to memorize tricky tasks and their solutions instead of developing strong CS and Math backgrounds.

Overall the book was OK to get a taste of what insanity to expect on coding interviews. But almost every topic in the book is covered much
...more
Mohamed Elsherif
For better or for worse, this book is a must read for any developer, at least from pragmatic point of view, I personally don't see the current interview practices any good, but reality is reality.
Heather
Jan 10, 2013 rated it really liked it
This is a great interview prep book, and I would recommend catering your focus to the types of companies you're interviewing with.

In general, most companies probably aren't going to give you questions from math/probability and brain teasers (the exception is the big-name companies the author mentions, Microsoft, Google, Amazon, etc.).

I actually brushed up on the java section last night before an interview today, and believe it or not, I was asked about a topic from the java overview (I was thank
...more
Danail Nachev
Feb 20, 2016 rated it it was amazing
This book is a must have for any software engineer. It doesn't matter whether you already have the perfect job or you are a college graduate, who needs to find your first job - it provides a good base for how programming interviews are done in the majority of the software companies.

The book is structured in two parts: overview of how interviews for software engineers proceed and actual coding exercises with hints and complete answers.

The overview of the interview process focuses on how most of t
...more
Venkat Pedapati
Nov 08, 2013 rated it really liked it
The list of questions and solutions is not comprehensive, but I guess that is the point. Coding interviews are about judging your approach to problems rather than specific solutions. I found that some of the problems were quite simple compared to the difficulty level currently in force at various companies. In particular would like to see more dynamic programming problems.

But the way the solutions are laid out is amazing. Although you should try to solve it yourself before reading the solutions,
...more
Aaron Sun
Feb 04, 2018 rated it did not like it
Did not help me crack the interview
Felipe
Nov 25, 2017 rated it did not like it
This book attempts to define *the* format for programming interviews, equating interviewing with competitive programming, which is the type of programming used at events like IEEE Xtreme or ACM ICPC (among others).

Competitive programming has a lot of merit, and provides a tangible demonstration of some of the programmer's abilities, but in many cases, high performance in these tasks will not be a predictor of on-the-job performance. In this regard, "Cracking the Coding Interview" is a bit of a d
...more
Vitaliy Zasadnyy
Mar 02, 2020 rated it it was amazing  ·  review of another edition
Shelves: favorites
One of the best books to prepare to the technical interview. It covers everything starting from questions on your previous experience and finishing hardcore algorithms.

If you have 3+ month before your first tech interview - this book is probably your best bet.

And it works, thanks to it (and bunch of others) I managed to get offers from Facebook and Google.
Tim O'Hearn
May 26, 2018 rated it it was amazing
I've been through this book, front to back, many times, and, this time, I've shelved it with great optimism. So here's to you, Gayle. You've helped mediocre students like me to chase their wildest dreams without concession.

Reviewing CtCI has traditionally been considered the best way to test Software Engineering fundamentals among those entering the industry. With the popularization of interactive platforms like HackerRank and Leetcode, it has become a rite of passage among undergraduates to gri
...more
Molly
Mar 20, 2017 rated it it was amazing  ·  review of another edition
I was searching for software engineering internships for this summer. Before reading this book, I failed all four tech interviews with various companies, 2 bigger companies and 2 startups. And then I got more interviews, and I decided to spend an weekend reading this book. I passed the subsequent interviews with three companies, including Google and a hot SF startup. I learned some key crucial techniques from this book which I applied to my latter interviews, they are:

1. Talk out loud so that yo
...more
Ugur
Dec 29, 2014 rated it really liked it
Shelves: programming
Cracking the Coding Interview is one of the best books to remember old topics. If you are still coding or like coding this book is a great resource to practice old topics. Most of the topics are not too detailed but it is good to check the abstracts.

After reading this book, you probably need more detailed books for each subject.

- Arrays and Strings
- Linked Lists
- Stacks and Queues
- Trees and Graphs
- Bit Manipulation
- Brain Teasers
- Mathematics and Probability
- Object-Oriented Design
- Recursion a
...more
David
Apr 30, 2012 rated it it was amazing  ·  review of another edition
This is a must read book for all engineers looking for work. It goes over how to act as well as coding/behavioral questions. A related site for more examples can be found here: http://www.mycareerstack.com/questions/

Again, this is a must read book (and fast read). It will let you know what areas to improve on and which ones are normally asked (and they really do get asked!)
...more
afloatingpoint
Apr 15, 2015 rated it really liked it
I have not finished all the exercises in here, but the book did give me a good idea what to expect in a tech interview. Not related to the book, but I found this complete, comprehensive solution set in other languages on github: https://github.com/gaylemcd/ctci ...more
David Dvali
I can not say it is a bad book. But I think, long analysis of solutions makes solution harder (when it is not), which is in this case. Sometimes I was writing solution by myself and understanding how it works, but looking solution in the book and needed time to figure out what it was saying. It is my position. Someone may find it really helpful this solutions. But also in many cases my written code was better (readable) than in the book. My suggestion is do not read this book in one go. It is to ...more
Mayank Pratap
Jul 18, 2018 rated it it was amazing
This book is a must read for coding interview preparation. Not only the questions are great but Gayle explains the approach to breakdown different problems into steps so that you can easily tackle problems you have never solved before.

This book helped me in my placement interviews and I was able to crack interviews of companies like Oracle, Amazon easily.

A Mig
Feb 26, 2019 rated it really liked it
Shelves: science-tech
Targeted to the software engineer, the data scientist will also find some valuable information in this book. The first chapters are general enough that the description of the interview process, difference between different tech companies, behavioural questions, etc, shall apply to both engineers and scientists. Then I really enjoyed the sections on math and logic puzzles and the advanced topics on math. Of course, the bulk of the book, on coding, will mainly interest the software engineer.
Yura Gavrilovich
Great book for preparing for the coding interview. Explains how a typical interview goes in big corporations like Google, Amazon, etc. Gives you concrete steps to prepare yourself for all interview stages. And the most important part, which takes ~70% of the book, problems with detailed solutions. Prepare to spend most of your time not reading the book, but solving problems.
Endilie Yacop Sucipto
Dec 26, 2017 rated it really liked it
While CtCi is a great coding interview prep book, I still believe that it is slightly over-rated. It should be read with other books, not as a standalone due to lack of explanation in some parts.

Overall, I'd recommend this book to someone who had never read other coding interview prep book.
Vaibhav Singh
May 03, 2018 rated it it was amazing  ·  review of another edition
The best book for coding interviews, period. Gayle Laakmann McDowell cuts through the crap and clearly establishes what is important and what is not. Also, this book serves as a guide for a lot of recruiters out there.
Anna
Dec 17, 2018 marked it as to-read  ·  review of another edition
Shelves: non-fiction
I have so, so much to learn. It’s as if people get college degrees in this stuff!
Nathan H.
Mar 17, 2019 rated it it was amazing  ·  review of another edition
i got the job!!!

didn't end up doing any of the questions, just read the content chapters and focused heavily on Big O section. also did leetcode and practice interviews on Pramp
arity
May 26, 2019 rated it it was amazing  ·  review of another edition
Shelves: technology, education
Really good book (in addition to practice on LeetCode and HackerRank) for those who haven't been on algorithmic technical interview for many years.
Salwa Al Khatib
Jan 28, 2020 rated it really liked it
Great for interview prep.
Eric
Apr 16, 2020 rated it liked it
I'd recommend Elements of Programming Interviews over this book, but this covers the basics.
Ignas
Dec 31, 2017 rated it really liked it
Great book and really worth to go through even if you are not preparing for interviews ;)
David
Dec 22, 2018 rated it really liked it  ·  review of another edition
I got the job.
Cigdem
Oct 26, 2019 rated it it was amazing  ·  review of another edition
Wonderful book- great resource and not only for when you are preparing for a programming interview.
« previous 1 3 4 5 6 7 next »
topics  posts  views  last activity   
Goodreads Librari...: Please combine these duplicates 8 30 Aug 03, 2016 09:20AM  

Readers also enjoyed

  • Introduction to Algorithms
  • Elements of Programming Interviews in Java: The Insiders' Guide
  • The C Programming Language
  • The Algorithm Design Manual
  • Elements of Programming Interviews: The Insiders' Guide C++
  • Programming Interviews Exposed: Secrets to Landing Your Next Job (Programmer to Programmer)
  • Design Patterns: Elements of Reusable Object-Oriented Software
  • Deep Learning
  • Effective Java
  • Clean Code: A Handbook of Agile Software Craftsmanship
  • Algorithms
  • Designing Data-Intensive Applications
  • Artificial Intelligence: A Modern Approach
  • Code Complete
  • Head First Design Patterns
  • The Elements of Statistical Learning: Data Mining, Inference, and Prediction
  • The C++ Programming Language
  • The Pragmatic Programmer: From Journeyman to Master
See similar books…

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
Gayle Laakmann McDowell is the founder / CEO of CareerCup, and the author of Cracking the PM Interview, Cracking the Coding Interview, and Cracking the Tech Career.

Gayle has worked for Microsoft, Apple and Google as a software engineer. She holds a bachelor's and master's degree from the University of Pennsylvania in Computer Science, and an MBA from the Wharton School. She currently resides in Pa
...more

News & Interviews

Kate Stayman-London has watched the reality dating show The Bachelor (and its eventual Bachelorette spin-off) since it first started airing in 2002...
18 likes · 6 comments
“Accomplished X by implementing Y which led to Z.” 2 likes
“Reduced object rendering time by 75% by applying Floyd’s algorithm, leading to a 10% reduction in system boot time.” 1 likes
More quotes…