Cracking the Coding Interview: 189 Programming Questions and Solutions 6th Edition
Use the Amazon App to scan ISBNs and compare prices.
- List Price: $39.95
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.
To get the free app, enter your mobile phone number.
Frequently bought together
Customers who bought this item also bought
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.
There was a problem filtering reviews right now. Please try again later.
+ The first few chapters are short recaps on what you should already know.
+ There are hundreds of interview-like questions. Very algorithm-oriented. Which is indeed what tech companies ask.
+ This book might indeed improve your chances at Apple, Google, Facebook, etc...
- This book will NOT make you a better software engineer. It only helps you at the interview-part.
I've been writing software for a long time, and I'm competent at my job. I've worked at some well-known companies, and I've interviewed a LOT of people. But I'm here to tell you that even I can't pass one of these interviews without studying. That's a bad thing. If the goal of an interview is to identify competent programmers, we've gone far, far off the rails with these kinds of interviews.
But of course, that isn't (entirely) the author's fault. She's just a cog in the machine, and profits by perpetuating it. Because the presence of books like these create a vicious cycle: prep book gets written; interviewees study/memorize answers; interviewers make questions "harder" to compensate; new book gets written! It never ends. The grinder continues to turn, and whereas ten years ago you could get a good job with some string or linked-list manipulation questions, now you've got people who consider whiteboard coding of topcoder elite questions to be the baseline measurement of programmer competency. That's nuts.
You'll even run into lazy interviewers who take questions directly from this book, which is the ultimate in stupidity: if "good" candidates have prepared from the book, and you ask questions directly from the book, what are you really accomplishing, other than a test of memorization skills? And yet, this is distressingly common. I've seen it myself. I've had recruiters from major tech companies send me pages from this book so that I can "prepare" for their interviews. What now?
This kind of crap only stops if the more senior amongst us simply *refuse* to do it anymore. New grads have no leverage, so it's up to the rest of us to stand up and demand change. If you work at a company, please, INSIST that your interview process avoid questions from this book. If you interview programmers, please, stick to questions that demonstrate actual day-to-day work competency. And yes, if you're interviewing and you have the leverage, stand up to companies that try to abuse you with this kind of demeaning nonsense.
If we are to be professionals, we have to demand the career respect afforded to professionals. That includes not being treated like children when we are interviewed.
After the chapters comes a slough of example interview questions rated as easy/medium/hard, each with hints that interviewers might provide if you were to get stuck as well as a solution.
Interviewing with companies can be a pretty grueling process so if you want a much better chance of landing the job the first time, I would highly recommend this book.
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.
Top international reviews
Want to crack all the codes thrown towards you?
Not good at the advanced techniques of coding?
Then, This book is for you.
P.S.: This is not for Beginners. You should be familiar with the basics first
I've used it to help me in securing jobs for my placement module as part of my degree (penultimate year) .
It covers everything you would need to learn to prepare you for a serious interview with a large organisation such Google, Microsoft, IBM and Oracle etc...
I've read it all and seen most of the examples come up in real interviews. Its very useful, I recommend reading it if you are serious in securing a role within a large software based organisation.
Not only does it help with interviews but it will help you within university itself, considering you are a student. It covers various algorithms that most students will cover within university.
tdlr; helps you secure a job and helps you study for uni.
The reason for this is : I graduated and was looking for developer jobs and thought this book would be great!
Perhaps it is great for someone with a few years experience that’s looking for a senior developer role.
As a junior this was out with my skill set or knowledge l.
The book is well written don’t get me wrong and you will learn a lot from it but I think it would require sitting down and making this a study book.
No doubt I will go back to this in a few years when I have a far greater knowledge and can understand this
I do not have any reservations in recommending this book as an interview preparation material (in addition to wonderful resources like interviewbit.com and carreercup.com, etc). Money well spent!
I would highly reccomend it. I used it to prepare for several interviews.