3 ms·
FWIW, that's typically the structure that Amazon is looking for in an interview (though, some interviewers are better/worse than others) - start with the super
by nevir 3y ago
FWIW, that's typically the structure that Amazon is looking for in an interview (though, some interviewers are better/worse than others)
- start with the super inefficient solution, solve it pretty quickly
- point out performance problems or edge cases that would need to be solved for a larger scale solution
- go implement those optimizations
- kevincox 3y agoYup, when I was interviewing for Google I was expecting basically the same. I would like you to work though the problem and come up with something simple, bonus points if you noted places that could be buggy, slow or anything else. Then we would look at it and discuss what could be improved and if we had time maybe even make those improvements.