Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Cracking the Coding Interview: 150 Programming Interview Questions and Solutions Paperback – 15 Oct. 2008
Purchase options and add-ons
* 150 Programming Interview Questions and Solutions: From binary trees to binary search, this list of 150 questions includes the most common and most useful questions in data structures, algorithms, and knowledge based questions.
* Ten Mistakes Candidates Make -- And How to Avoid Them: Don't lose your dream job by making these common mistakes. Learn what many candidates do wrong, and how to avoid these issues.
* Steps to Prepare for Behavioral and Technical Questions: Stop meandering through an endless set of questions, while missing some of the most important preparation techniques. Follow these steps to more thoroughly prepare in less time.
* Interview War Stories: A View from the Interviewer's Side: Humorous but instructive stories from our interviewers show you how some candidates really flopped on the most important question - and how you can avoid doing the same.
- Print length304 pages
- LanguageEnglish
- PublisherCreatespace
- Publication date15 Oct. 2008
- Dimensions15.24 x 1.91 x 22.86 cm
- ISBN-10145157827X
- ISBN-13978-1451578270
There is a newer edition of this item:
Product description
About the Author
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.
Product details
- Publisher : Createspace
- Publication date : 15 Oct. 2008
- Edition : 4th
- Language : English
- Print length : 304 pages
- ISBN-10 : 145157827X
- ISBN-13 : 978-1451578270
- Item weight : 508 g
- Dimensions : 15.24 x 1.91 x 22.86 cm
- Customer reviews:
About the author

Gayle Laakmann McDowell is an author, consultant, and founder focusing on improving tech hiring for both the interviewer and the candidate.
Gayle has worked as an engineer for Google, Microsoft, and Apple. Most recently, at Google, she served on the hiring committee where she interviewed hundreds of candidates and evaluated thousands more. It was here that she discovered the disconnect between candidates, their skill set, and their interview performance.
Though her company, CareerCup, Gayle has worked with many of the top tech companies to reform their hiring practices and implement interviewer training programs.
She is the author and creator the best-selling Cracking the Interview & Career series: Cracking the Coding Interview, Cracking the PM Interview (co-authored with Jackie Bavaro), Cracking the PM Career (co-authored with Jackie Bavaro), and Cracking the Tech Career
Gayle holds a bachelor's and master's in Computer Science from the University of Pennsylvania and an MBA from the Wharton School of Business.
She currently consults, writes, and codes from her home in Palo Alto, California. She can be found online at gayle.com, twitter (@gayle), and facebook (@gayle).
Customer reviews
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from United Kingdom
Top reviews from other countries
PrashantReviewed in the United States on 9 March 20125.0 out of 5 stars AWESOME!!!
I was (largely, still am) a bit rusty on my DS & Algos. I have nearly 10 years of exp., working in a pretty good company even now, but am looking for a job switch to one of the big 5 or comparable companies.
I picked up this book about 3 months back, based on reviews from many ppl here at amazon (am so grateful for those meaningful reviews, friends). Pls believe me, when i say this - along with Bentley's Programming Pearls - this is the other "must-have-worked" book you should go for, before attempting to interview in MS/Google//Amazon/Yahoo etc. The exercises are V relevant....asked in a lot of places...and even if you get a different set in your actual interview, the skills you learn while solving these problems should hold you in good stead.
The author has taken great pains, and does a very good job of bombarding the reader with a set of challenging questions.
What's more, i have personally corresponded with the Author to discuss approaches in solving these questions and getting placed in a good place, and she has been kind enough to respond and give advice. Betrays a desire to HELP ppl...and i believe this comes out in the book she's come out with.
I believe this book, along with Bentley's and Skiena's Algorithm Design Manual (a good alternate is Sedgewick's book on DS and Algos.)
should put you right up there as a genuine candidate in the top-notch companies.
There's is another book by Amit Prakash and Aziz..it looks very promising and would have a GREAT book...but there are a lot of typos there...And we know what a typo can do in Software. Not belittling that book, but it would have been SO SUPER without the mistakes.
This book, highly recommended ....
GReviewed in the United States on 20 July 20115.0 out of 5 stars The Perfect Dev Interview Prep Guide
This book is exactly what I needed to prepare me for my dev job hunt. I spent a few months preparing for interviews without it and I was spinning my wheels. Before this book I had no clear concise resource that would cover all the relevant topics covered in undergrad cs. It was also difficult to figure out what was relevant and to which company.
This book is split up into a few pieces
a)Interview war stories
b)Specifics of interview with Google, Amazon, Apple, Microsoft
This was invaluable. Knowing ahead of time the format and the way these companies decide on how to select candidates give you
a context for the interview. For example knowing that there was a "bar raiser" at Amazon was really helpful.
3)Tech Questions and Solutions
The categories were really helpful.In addition to the typical String, Linked List, Tree Categories there were also
OO, System Design and Memory Limits,Networking and many others that go well beyond what is covered in undergrad but are commonplace issues in industry.
I recently got an offer from Amazon, and I would say this book played a substantial role in that.
SoniReviewed in the United States on 12 March 20113.0 out of 5 stars just okay, solutions have no explanations
I think this book is way too overpriced for the content compared to "programming interviews exposed" Below are my pros and cons list. This might work out better for somebody who codes in java or does'nt need algorithm or logic, but just a piece of code as solution...
pros :
good tips (just good,not great because I did not learn anything new from what I've experienced myself in my interviews)
good selection of questions
well organized
cons:
Solutions are just a piece of code with little to no explanations. I actually had to refer to other books and internet for some better solutions. It kind of helped me in a way, but then what is the point of this book...
Algorithms for problems , if there are any are pretty much one or two sentences
Most of the solutions are in java
Again, make the decision based on your specific need. From my experience, this should not be your only one coding interview book..
aviatorReviewed in the United States on 4 July 20114.0 out of 5 stars The interviewing mentality
As others have given reasonable coverage of the book's contents, I thought I'd chime in on how I prepared for my interviews at one of the big name companies this book mentions.
Much more than memorizing answers, I found that interview prep is about getting in the right mentality. The mentality is a combination of being able to deeply communicate your experience (with technical details), proving your passion for the field, and being able to have an engaging technical discussion with your interviewer that tells her something about your aptitude. I used Gayle's two books to get myself into that mentality in combination with other online resources. Gayle's difference is that her writing drips with credibility, having been on both sides of the interview -- it also doesn't hurt that she's an awesome writer.
Certainly work through the practice problems on the whiteboard and spend some time on glassdoor.com, but pay equal attention to the parts that discuss non-technical factors too. One particular section of the book addressing "do I wanna have a beer with this guy/gal" I feel gave me a particular leg up. If a candidate has (unfeigned) enthusiasm, it will help to build rapport with the interviewer and enhance the partnership. A partnership is the way you want to enter the interview...it's not an adversarial game where the interviewer is dogging you, waiting to cross you off the moment you trip up. You're supposed to make mistakes. And you're supposed to hold a conversation with your interviewer much as you would a colleague, brainstorming possible ways to proceed. Your interviewer may be your future colleague, after all. This kind of exchange is more valuable than whipping out the correct answer in a hurry, which gives your interviewer no information about your personality or your skills.
Gayle's books highlight both the technical and "softer" aspects of interviewing that will let you put your best foot forward and even have some fun in the process. Relaxing and being sociable is one of the best things you can do.
a readerReviewed in the United States on 26 May 20115.0 out of 5 stars extremely useful
My Google recruiter recommended looking at Programming Interviews Exposed: Secrets to Landing Your Next Job, 2nd Edition (Programmer to Programmer). If what you're looking for is just a short list of problems to get ready for whiteboard coding interviews, either book will be useful (like many people, I bought them both). However, Laakmann's insights into the interviewing mentalities at her former employers are specific and helpful. Not lengthy, but worth knowing if you're interviewing at one of those companies.
It's important to keep in mind that none of these books will give you "the answers," but are mainly useful in becoming mentally prepared for certain types of quickly-solvable problems and strategies for dealing with problem-solving in a think-aloud context.
As an aside, the Kindle edition has links that make it easy to flip back and forth between problems and solutions.
