3 ms·
I love this idea and the way the problems are presented. One suggestion (based on the one question I saw) is to also mention at least in passing, concerns with
by codezero 13y ago
I love this idea and the way the problems are presented.
One suggestion (based on the one question I saw) is to also mention at least in passing, concerns with edge cases in the inputs. Python often lets you ignore these things but interviewers tend to be charmed by at least an attention to the possibility that your input is empty.
Also, it might be worthwhile to have some "homework" problems that don't have solutions that are variations of the main problem.
For example, the stock price problem is sometimes presented as changes in price rather than absolute price. This adds some subtle differences that might throw people off unless they've tried it.
I imagine similar variations exist for all the problems available.
- xixixao 13y agoSay at Microsoft interviewers will drill you on edge cases (but it really is common in most shops). That means all empty / invalid input as well as overflow, floating point errors etc. Some places care about reliability vs speed or elegance more than others.