Deliver to Tunisia
IFor best experience Get the App
Daily Coding Problem: Get exceptionally good at coding interviews by solving one problem every day
A**R
Just what I needed
I bought this book two weeks ago and am LOVING it. I'm a beginner-intermediate coder, and I feel like this is really helping to take me to the next level. I've working through a variety of online programming courses for a while, and was just starting to plateau. I'm still a ways from being ready for a job interview, but hopefully by the time I finish the book I will be.For the most part, the information in the book you could find elsewhere, but for me it's so helpful to have it all well-organized in one place. It makes it much easier to quickly learn new techniques instead of spending hours trying to think of the right phrasing for my question in google.One thing that might not be clear from the title is that a large part of the book covers various algorithms and programming structures. Only 1/3 - 1/2 is actual coding questions. As someone learning, that's what I was looking for, but good to be aware of before you buy. Some of the coding questions are pretty easy, but others are very hard and would probably be a challenge even for someone more experienced. My advice to anyone who gets the book is to not give up on the hard problems too easily, really struggle for a bit before checking the answer.
E**N
Great book but not perfect still buy it tho
I loved this book because of the diversity of questions. There some easy ones and some where it’s very challenging. The answers are written in python which is nice because it’s very readable however I would love to see a java version. Python does have some special features that aren’t available in every language, ex: negative indicies, so adapting the solutions to java does sometimes make the code look uglier but works just as good. I wish the explanation were a bit more in depth. A picture illustrating a portion of the code would be very helpful. I personally just used the debugger to illustrate the answer.
C**L
Same questions
I am a subscriber for their email list called Daily Coding Problem. The book contains same/similar questions from the email list. However, explanations are pretty good. I would recommend to any friend who wants to excel in programming problems.
Y**N
Bad choice of language and implementations
Performance is one of the most important criteria for algorithm implementations.This book uses Python as the choice of algorithm implementations, which is not made clear anywhere (title, book description or Preface). Performance wise, Python is a bad choice, because it is well-known that Python as a scripting language is orders of magnitude slower than complied languages such as C/C++, Java, etc. For example, the first example of "Get products of all other elements" took 67 seconds with an array of 9 elements from 1 through 9, looped 10 million times, versus 0.39 seconds with the same problem from another text titled "Algorithms with Implementations in C: a Quantitative Approach," under the same test conditions. This is a 172 times difference! I wish there was a version with the examples implemented in Java or C/C++.Besides, the implementations are not as efficient as they should have been, given that it is supposed to teach others to code more efficiently. Using the same example mentioned above, I got it down from 67 seconds to 34 seconds, simply by re-implementing it using the same implementation logic in C as can be found in "Algorithms with Implementations in C: a Quantitative Approach."Here is my re-implementation of the same problem in Python that improved the original running time of 67 seconds by 2x down to 34 seconds on my Macbook Pro. You can copy/paste/run it on your own machine and verify.'''Implementation from "Algorithms with Implementations in C: A quantitative Approach"void array_multiply(int a[], int b[], int n){ int sub = 1; for (int i = 1; i < n; i++) { sub *= a[i - 1]; b[i] = sub; } b[0] = 1; sub = 1; for (int i = n - 1; i > 0; i--) { sub *= a[i]; b[i - 1] *= sub; }}'''import timedef products(a): n = len(a) sub = 1 b = [0] * n i = 1 while (i < n): sub = sub * a[i - 1] b[i] = sub i = i + 1 i = n - 1 b[0] = 1 sub = 1 while (i > 0): sub = sub * a[i] b[i - 1] = sub * b[i -1] i = i - 1 return ba = [1, 2, 3, 4, 5, 6, 7, 8, 9]start = time.time()N = 10000000for i in range(N): b = products(a)print("duration =", str(int(time.time()-start)), "seconds")print(b)
D**.
Difficult book, but extremely valuable
2 of my onsite interviews were questions very similar to ones in the book and I was able to adapt them to the whiteboard with a few tweaks. But don't get me wrong, you can't expect to read this book and be able to regurgitate the solution on the spot. This book has very difficult questions and I really had to think about them for a couple hours until I got them, and usually the provided solution and explanation was much clearer.
C**A
worth the read
Really easy read, much more so than cracking the coding interview. Looking thru the table of contents is a little intimidating b/c it covers so many topics, but each section isn't too intense so its easier to get thru than expected. I like how the book is organized: reminds me of classes in undergrad.The book is a little larger than expected but still light enough to carry around easily. The benefit here is that there's enough white space in the margins to take notes if you want to.I've been a subscriber of the mailing list for a while which is pretty barebones, just coding problems + their solutions, so it's pretty cool to see something more educational and robust come out from the same founders.
Y**N
OVERPRICED
This book is so overpriced for its content. All questions are taken from LeetCode.
Y**A
A good crash course to guide someone to the right direction
For those with a keen interest in solving various practical and theoretical coding problems, or for someone needing a quick fix for an imminent interview, this book is very helpful. Its explanation for each category of questions provides a guide to solve problems of the same category. Such explanations are particularly useful as they are not normally taught in the classroom. Although titled "Daily Coding Problems", it allows me to go through the questions at my own pace, one or several a day. The book could be improved by including some really mind-boggling questions to challenge readers' intellectual limit, just for fun.
F**R
Fantastic book
A must have for anyone who is learning coding and would either like to challenge themselves or prepare for a future job interview. The problems and their solutions are nicely structured. In addition increasing levels of difficulty allow you to understand how far your understanding goes and how prepared you can be for a interview at a specific firm. Also try their daily challenges via email. More problems for you if it is not enough.
G**N
there are some code errors and the code is not written rigorously. The code is pretty rough
I have read the entire book, and the conclusion is that there are some code errors and the code is not written rigorously. The code is pretty rough
E**U
Lots of fodder, little content
Not much is explained. A couple of exercises that could be found on leetcode. Avoid
Trustpilot
1 day ago
1 month ago