Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.
Book · Interview PrepAbout $30

Cracking the Coding Interview

The long-standing technical interview book by Gayle Laakmann McDowell, now in its sixth edition with 189 programming questions and solutions, plus chapters on how big tech companies hire, behavioural questions and offers. It suits first-time candidates who want to understand the whole interview process and practise classic problems, and it pairs well with a newer pattern-based resource for the problem-solving side.

Get access
Edition

6th (2015)

crackingthecodinginterview.com · Sept 2026

Questions

189 with solutions

crackingthecodinginterview.com · Sept 2026

Goodreads rating

about 4.3/5

Goodreads · Sept 2026

Format

Book

Topic

Interview Prep

Provider

Gayle Laakmann McDowell

Time needed

6 to 10 weeks

Level

Intermediate

Access

About $30

What is in the book

The sixth edition (2015) contains 189 programming interview questions with worked solutions, plus hints to help you get unstuck before reading the answer. The official site describes it as having 70% more content than the previous edition, including hints and more than 40 new questions. It covers:

  • The process: how interviews work at large tech companies, how decisions are made and what interviewers look for, and what happens behind the scenes.
  • Before the interview: getting experience, resumes, and preparing for behavioural questions.
  • Five strategies for approaching algorithm questions you have not seen before.
  • Technical chapters: arrays and strings, linked lists, stacks and queues, trees and graphs, bit manipulation, maths and logic puzzles, object-oriented design, recursion and dynamic programming, system design and scalability, sorting and searching, testing, and knowledge-based topics (Java, databases, threads and locks).
  • The offer: handling offers and rejections, and negotiation.

Solutions are mostly written in Java.

What still holds up

The non-technical chapters. How hiring decisions are made, why a correct answer can still fail, and how to behave when stuck are drawn from real hiring experience and very little has dated. The problem-solving framework (listen, example, brute force, optimise, walk through, implement, test) is still one of the clearest ways to structure an answer.

What has aged

The edition is from 2015. Interviews today lean more on patterns such as sliding window, two pointers, prefix sums and monotonic stacks, and the typical difficulty is higher. The book's problem set is still good practice, but it is no longer enough as your only problem list. The follow-up book, Beyond Cracking the Coding Interview (2025), was written to cover those newer patterns.

Reviews

On Goodreads the sixth edition holds an average of about 4.3 out of 5 (September 2026). Reviewers consistently praise the explanations and the process chapters. Common criticisms are that some questions feel dated, the Java-only solutions are awkward for Python users, and the book encourages a memorisation-heavy style of preparation if used as the only resource.

How to use it today

  • Read the process chapters first (the opening chapters and the behavioural section). They are the most valuable part.
  • Use the problems as supplementary practice, alongside a modern list such as NeetCode 150 or Grind 75 on LeetCode.
  • Use the hints. Try a problem, read one hint, try again. It trains the unstuck-yourself skill interviews need.
  • Translate solutions into your interview language rather than copying the Java.

Common questions

Should I buy this or Beyond Cracking the Coding Interview? If you buy one book today, Beyond CtCI is more current. This one is still worth reading for the process chapters if you can borrow it.

Is the system design chapter enough? No. It is a short introduction; use a dedicated system design resource for senior loops.

Best for: first-time candidates who want to understand the process, not just the questions.

interview prepalgorithmscomputer science

Ready to start?

Opens on Gayle Laakmann McDowell in a new tab.

Get access
Link broken or out of date?

Report a problem

With "Cracking the Coding Interview". Only Tauseef reads this.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.