Customers who viewed this item also viewed
Buy New
-35%
$25.79$25.79
FREE delivery Tuesday, May 5 on orders shipped by Amazon over $35
Advertisement
Advertisement
Ships from: Amazon.com Sold by: Amazon.com
Used - Good
$8.53$8.53
FREE delivery May 8 - 12
Advertisement
Advertisement
Ships from: Dream Books Co. Sold by: Dream Books Co.
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
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: 189 Programming Questions and Solutions 6th Edition
Purchase options and add-ons
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've been through this as a candidate and as an interviewer.
Cracking the Coding Interview, 6th Edition is here to help you through this process, teaching you what you need to know and enabling you to perform at your very best. I've coached and interviewed hundreds of software engineers. The result is this book.
Learn how to uncover the hints and hidden details in a question, discover how to break down a problem into manageable chunks, develop techniques to unstick yourself when stuck, learn (or re-learn) core computer science concepts, and practice on 189 interview questions and solutions.
These interview questions are real; they are not pulled out of computer science textbooks. They reflect what's truly being asked at the top companies, so that you can be as prepared as possible. WHAT'S INSIDE?
- 189 programming interview questions, ranging from the basics to the trickiest algorithm problems.
- A walk-through of how to derive each solution, so that you can learn how to get there yourself.
- Hints on how to solve each of the 189 questions, just like what you would get in a real interview.
- Five proven strategies to tackle algorithm questions, so that you can solve questions you haven't seen.
- Extensive coverage of essential topics, such as big O time, data structures, and core algorithms.
- A behind the scenes look at how top companies like Google and Facebook hire developers.
- Techniques to prepare for and ace the soft side of the interview: behavioral questions.
- For interviewers and companies: details on what makes a good interview question and hiring process.
Illustrations noteIllustrations: Illustrations, black and white
- ISBN-100984782869
- ISBN-13978-0984782857
- Edition6th
- Publication dateJuly 1, 2015
- LanguageEnglish
- Dimensions7 x 1.59 x 10 inches
- Print length687 pages
Customers also bought
Based on products customers bought together
Deals on related products
Customers also bought or read
- System Design Interview – An insider's guide#1 Best SellerCloud Computing
Paperback$39.99$39.99FREE delivery Tue, May 5 - System Design Interview – An Insider's Guide: Volume 2#1 Best SellerComputer Systems Analysis & Design
Paperback$40.00$40.00FREE delivery Tue, May 5 - Elements of Programming Interviews in Python: The Insiders' Guide#1 Best SellerGenetic Algorithms
Paperback$38.38$38.38FREE delivery May 11 - 15 - Grokking Algorithms, Second Edition: An illustrated guide for programmers and other curious people
Paperback$39.70$39.70FREE delivery Tue, May 5 - Cracking the Tech Career: Insider Advice on Landing a Job at Google, Microsoft, Apple, or any Top Tech Company
Paperback$13.99$13.99Delivery Tue, May 5 - Programming Interviews Exposed: Coding Your Way Through the Interview
Paperback$27.60$27.60Delivery Tue, May 5 - Coding Interview Patterns: Nail Your Next Coding Interview
Paperback$39.82$39.82FREE delivery Tue, May 5 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)#1 Best SellerSoftware Testing
Hardcover$41.64$41.64FREE delivery Tue, May 5 - The Algorithm Design Manual (Texts in Computer Science)
Hardcover$56.46$56.46FREE delivery Tue, May 5 - Data Structures and Algorithms Made Easy: Data Structures and Algorithmic Puzzles
Paperback$29.41$29.41Delivery Tue, May 5 - Hacking the System Design Interview: Real Big Tech Interview Questions and In-depth Solutions
Paperback$26.99$26.99Delivery Tue, May 5 - Design Patterns: Elements of Reusable Object-Oriented Software#1 Best SellerObject-Oriented Design
Hardcover$28.77$28.77Delivery May 9 - 13 - Elements of Programming Interviews in Java: The Insiders' Guide
Paperback$37.45$37.45FREE delivery Tue, May 5 - A Common-Sense Guide to Data Structures and Algorithms, Second Edition: Level Up Your Core Programming Skills
Paperback$40.00$40.00FREE delivery Tue, May 5 - AI Engineering: Building Applications with Foundation Models#1 Best SellerEnterprise Applications
Paperback$57.19$57.19FREE delivery Tue, May 5 - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
Paperback$28.27$28.27Delivery Tue, May 5 - HTML and CSS: Design and Build Websites#1 Best SellerCSS Programming
Paperback$14.21$14.21Delivery May 18 - 23 - A Philosophy of Software Design, 2nd Edition#1 Best SellerSoftware Development
Paperback$22.95$22.95Delivery Tue, May 5 - Heard on The Street: Quantitative Questions from Wall Street Job Interviews
Paperback$45.00$45.00FREE delivery Tue, May 5 - The Software Engineer's Guidebook: Navigating senior, tech lead, and staff engineer positions at tech companies and startups#1 Best SellerUML Language
Paperback$34.49$34.49Delivery Tue, May 5 - Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Paperback$40.00$40.00FREE delivery Tue, May 5 - Ace the Coding Interview: 266 Real Interview Questions with Step-by-Step Solutions to Land Top Tech Jobs
Paperback$29.99$29.99Delivery Tue, May 5
Editorial Reviews
About the Author
Her background is in software development. She has worked as a software engineer at Google, Microsoft, and Apple. At Google, she interviewed hundreds of software engineers and evaluated thousands of hiring packets on the hiring committee. She holds a B.S.E. and M.S.E. in computer science from the University of Pennsylvania and an MBA from the Wharton School.
She now consults with tech companies to improve their hiring process and with startups to prepare them for acquisition interviews.
Product details
- ASIN : 0984782850
- Publisher : CareerCup
- Publication date : July 1, 2015
- Edition : 6th
- Language : English
- Print length : 687 pages
- ISBN-10 : 0984782869
- ISBN-13 : 978-0984782857
- Item Weight : 2.75 pounds
- Dimensions : 7 x 1.59 x 10 inches
- Part of series : Cracking the Interview & Career
- Best Sellers Rank: #22,915 in Books (See Top 100 in Books)
- #1 in Data Structure and Algorithms
- #17 in Job Hunting (Books)
- #19 in Software Development (Books)
- 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).
Related products with free delivery on eligible orders
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 analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Reviews with images
Best book for Interview Prep
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on September 20, 2016Format: PaperbackVerified PurchaseWhile this book is meant for interview practice, I would recommend you still read it just for fun if you're into algorithms.
I've always believed that there's no "crack" to coding interviews; it's just a matter of whether you can code or not (well, at least at those sane companies not filling up school buses with golf balls). And that requires practice. Lots of practice. Which is why I spent all my free time working out problems on Hackerrank. For me, this went well . . . for a while.
But there comes a point at which you get stuck. I remember working on some hackerrank problems in the medium to hard difficulty which I would not be able to proceed for weeks and weeks. No amount of googling for information, discussion boards or stack overflow threads paint a complete picture to help you when you're stuck.
After countless such occasions and failing a few interviews, I gave in and bought this book. After all it was $20 - the cost of an uber to work.
Now, I wish I had bought this sooner!
Within reading the first two chapters I've already learnt so much about how to think about coding problems. There's also a nice collections of custom data structures at the end of the book. I've swiped some data structures straight out of this book and use them in my day-to-day life too.
Gayle has done a tremendous job of using words to explain how that weird gooey gel inside your head moves like when problem-solving. She deconstructs every approach to tackle a problem into atomic pieces. She goes into great depth about alternative designs, tradeoffs and runtime complexity. She talks about visualizing recursive calls as trees, thinking about BUD*, amortized analysis of ArrayList and much more. The great thing is that Gayle goes into copious amounts of details for each solution - she talks about how to start from a brute force solutions and optimize each component one-by-one and talks about tradeoffs in approaches.
Overall, I think this a very helpful book. I would recommend you begin reading this book immediately after your first course on Algorithms. It will certainly help drill down the concepts and help strengthen your fundamentals.
*BUD is a special term the author uses to describe strategies to optimize solutions
- Reviewed in the United States on April 13, 2026Format: PaperbackVerified Purchaseamazing book , helped me to get a job as a software engineer
- Reviewed in the United States on July 9, 2015Format: PaperbackVerified PurchaseSince the first edition, I've recommended Cracking the Coding Interview to people preparing for technical interviews. Gayle has a depth and breadth of knowledge that she shares freely in this book. She means what she says too: she's not a recruiter, or a sourcer, or affiliated with any of those groups -- she's an engineer who knows what it takes to be prepared for and ace a technical job interview.
Full disclaimer: I worked with Gayle at Google, and I know her -- and back in the day I even saw her code. Forearmed with this additional information on how she works, I can say that she really knows her stuff here.
There's a reason why multiple companies recommend this book to prospective candidates to prepare. It's not a cookbook, you can't just learn the examples rote and then ace an interview. For one thing: hiring managers like me know about the book, and we're not going to let our teams ask exactly these questions. However, by working through the examples in the book, you will gain an understanding and refresh your software engineering knowledge to a level where any algorithm, design or coding question that is thrown at you will be answerable.
By following and solving the examples in this book, you'll refresh your memory on how to approach these problems. You'll make mistakes, and be more comfortable with making those mistakes and then moving past them. You'll get some insight into how you approach problems and potential pitfalls in your methodology. There are incredibly useful tips on how to describe your solutions, how to work through a coding question, and how to answer some more thorny behavioral questions.
The 6th edition, with its additional 50+ questions, expanded solutions and explanations of the tech hiring process will put you in a good position to do your best in your job interview. As a hiring manager, I want you to do your best. The better you are prepared, the less nervous you'll be when you interview, and the better you'll perform. This book is an indispensable part of your interview preparation.
Top reviews from other countries
-
Madson MarceloReviewed in Brazil on October 2, 20255.0 out of 5 stars Livro muito bom, mas fui taxado
Format: PaperbackVerified PurchaseLivro excelente.
MelitaReviewed in India on April 19, 20265.0 out of 5 stars Book
Good book if you are preparing for placements
-
UQI8Reviewed in Turkey on May 26, 20255.0 out of 5 stars iyi paketleme güzel ürün
Format: PaperbackVerified Purchaseiyi paketleme güzel ürün
VictorReviewed in Mexico on May 19, 20245.0 out of 5 stars Amazing book and the code is very readable
Format: PaperbackVerified PurchaseThe perfect choice to land your next programming job, all the text, diagrams and code printed are readable and very easy to follow.
JustinReviewed in Canada on October 3, 20165.0 out of 5 stars Changed the way I looked at a lot of problems
Format: PaperbackVerified PurchaseThis is a really good book. It has a lot of really good problems, amazing career advice, and just a lot of worthwhile content for the price. My favourite thing about this book is how it explains how you should get in the habit of being able to do the same problem different ways or look at it at a different angle. Sure, you might be able to write a one line hack that solves a problem quickly and very efficiently, but what if you had to solve it another way, using a much more unconventional approach?
Personally I'm working towards being a sysadmin/database admin and programming isn't the main focus of my education but the more I use it the more I can see it being a required skill for employment as I approach my now graduating year. Also this book has motivated me to learn Java much better.
Anyway aside from all the great programming advice, it also offers some really nice insights into the hiring process of very high end tech companies and also things you should do to improve your chance of being hired.. and I can tell you it doesn't always come down to how well you can solve complex problems.


















