3 ms·
Yes. Fizzbuzz is redundant, perhaps by design. If you start thinking to optimize the redundancy away, like “why do I need to divide by 15, if I am already divid
by atemerev 4y ago
Yes. Fizzbuzz is redundant, perhaps by design. If you start thinking to optimize the redundancy away, like “why do I need to divide by 15, if I am already dividing by 3 and 5”, you spend some precious 30 seconds thinking, and look exactly like an idiot who doesn’t know how to program at all.
- danparsonson 4y agoThe secret there is to vocalise your thought process. Interview puzzles are as much about assessing the candidate's critical thinking skills as they are a filter for programming knowledge.