Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

Cracking the Coding Interview, 6th Edition: 189 Programming Questions and Solutions 6th Edition

4.8 out of 5 stars 148 customer reviews
ISBN-13: 978-0984782857
ISBN-10: 0984782850
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Buy new
$30.42
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, April 8? Order within and choose One-Day Shipping at checkout. Details
List Price: $39.95 Save: $9.53 (24%)
39 New from $25.29
Qty:1
Cracking the Coding Inter... has been added to your Cart

Ship to:
To see addresses, please
or
Please enter a valid US zip code.
or
More Buying Choices
39 New from $25.29 26 Used from $24.84
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Born For This: How to Find the Work You Were Meant to Do
Born for This
Essentialism
Rich Is Not A Four-Letter Word
$30.42 FREE Shipping. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.

Frequently Bought Together

  • Cracking the Coding Interview, 6th Edition: 189 Programming Questions and Solutions
  • +
  • Elements of Programming Interviews: The Insiders' Guide
  • +
  • Programming Interviews Exposed: Secrets to Landing Your Next Job
Total price: $75.69
Buy the selected items together

NO_CONTENT_IN_FEATURE


Product Details

  • Paperback: 687 pages
  • Publisher: CareerCup; 6th edition (July 1, 2015)
  • Language: English
  • ISBN-10: 0984782850
  • ISBN-13: 978-0984782857
  • Product Dimensions: 7 x 1.6 x 10 inches
  • Shipping Weight: 3.3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (148 customer reviews)
  • Amazon Best Sellers Rank: #221 in Books (See Top 100 in Books)

Customers Viewing This Page May Be Interested In These Sponsored Links

  (What's this?)

Customer Reviews

Top Customer Reviews

Format: Paperback
This book helped me land a job at well known internet company. I got several offers and without doubt this book helped. The specific coding questions that I would have failed outright on had I not read the book include: breadth first search/shortest path, fundamentals of hash tables, and recursion (fibonacci). Before reading this book I thought I understood recursion but there's a lot I hadn't considered. I worked through many of the code exercises and would review some of the chapters before interviews, including big-O. There are some areas that I feel deserve more attention, like heaps, but overall it covers most of the fundamentals. There are some typos which I found annoying.

The only reason I can't give 5 stars is this should be available in a ebook format. I don't buy physical books anymore since it's just a pain to lug around/store and as a result, they are often forgotten. And I've loaned this book to so many people they're really losing money buy not offering it on Kindle, which I would not be able to share.
6 Comments 29 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
This is obviously the must-have book to prepare for your SWE/SDE interview. I have some small quibbles with how some of the problems were worded, but the level of difficulty is very representative of what the big tech companies are using. You might even run into these questions in your own interviews since Gayle is choosing questions that are popular among interviewers today. If you have time, you should of course pick up an algorithms textbook also. I recommend Skiena's The Algorithm Design Manual and Sedgewick's Algorithms (4th Edition) textbooks. The classic Cormen is too verbose and proof-heavy for the purposes of preparing for an interview.

The DP solutions in this book are not actually tabular DP formulations--I recommend looking at the problems here http://people.cs.clemson.edu/~bcdean/dp_practice/ (Brian Dean's Dynamic Programming Practice Problems). Gayle presents memoized solutions, which are much easier conceptually but not as clean or performant as bottoms-up tabular solutions.
Comment 21 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
Pretty Great book. However, I wish There was more explanation for each problems instead of just giving us their solution. I think I would learn better if they made me understand what the question was actually asking instead of trying to figure out what question is actually asking by looking at the solution first.. However, The book itself contains a lot of information
Comment 4 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
I bought the sixth edition within few days of release and it has been incredibly useful to practice interview questions. This new version has a bunch of hints for every question which you can use if you are stuck somewhere in the middle - very similar to a real interview. I found some of the tips quite helpful - like jumping directly to whiteboard only the function that is needed rather than writing every part of the class, using short alias for long words in the code etc. These tricks helped save time during white boarding questions. Also, the idea of first coming up with a brute force solution and then optimizing it from there, was quite helping Solving the questions in this book would tune your mind to get ready to face programming interviews. I would definitely recommend everyone to buy the book.
Comment 7 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
This book brings value, specially if you don't have the fifth edition or not able to get the fifth edition.

This book has around ~50 new questions (some of them were removed and new ones added). Fifth edition had 150 and this one has 189.

The fifth edition ends at page 169 (with the rest of the book being answers to the questions) [TOTAL = 500pages] and this new book ends at page 190 with the rest of the pages, a total of ~700) with solutions and some pages of hints.

The fifth edition book is smaller in size while this one is much larger.

The new edition is bulkier, with low quality paper compared to the fifth, and I still not sure how I would justify the size of the fact that a new edition was needed.

This book has new assumptions, that while great for non computer scientist, may be the reason that is larger, but I'm still not a 100% sure this is the reason that this book is larger.

The question is why a new edition was needed? for the extra questions and the Big-Oh chapter? I think each person may feel different about those questions.

Even with new material, was it really needed to go this large? There was nothing that could be considered as a downloadable material ? While a self-contained book is important, this books leaves me with many questions why a new edition was needed. What is the real motivation for this new edition?

I'm not able to answer lots of this questions as I can't be sure what the author was thinking.
What I can say is that you should try to get a fifth edition if possible.

With all of this said, I think this book deserves 3 stars and you should buy it as it is still a good book.

Maybe I expected too much considering the quality of the previous edition.
Read more ›
33 Comments 82 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
There are some small mistakes that may need to be looked at and fixed.
For example:

Find all the integer pairs in an array given that has same difference k.
a={1,3,5,6,7,8,9,12}

You can see that there are {1,3}; {3,5}; {5,7}; {7,9} but they somehow left out the {5,7} pair in the result.

Overall a good book, and I love it.
1 Comment 16 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Set up an Amazon Giveaway

Cracking the Coding Interview, 6th Edition: 189 Programming Questions and Solutions
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
This item: Cracking the Coding Interview, 6th Edition: 189 Programming Questions and Solutions