3 ms·
I'm not a fan of algo trivia either but fizz buzz is very far from leetcode imo. I genuinely would not be able to hire somebody who couldn't complete it, wherea
by intelVISA 4y ago
I'm not a fan of algo trivia either but fizz buzz is very far from leetcode imo. I genuinely would not be able to hire somebody who couldn't complete it, whereas some of the lc hards can be a bit problematic if your DSA is rusty.
- Kim_Bruning 4y agoI always figured leetcode was just a slightly harder version of fizzbuzz (because fizzbuzz really is a bit too easy.) You can often puzzle out a solution based on experience alone, if you've been programming long enough. I guess the leetcode idea fell afoul of goodhart's law, and a lot of people just started memorizing algorithms instead?
- wizofaus 4y agoFizzbuzz is a basic competency check, it really doesn't require any "clever" thinking. I haven't looked at many leetcode exercises but the ones I have so far definitely go beyond that, and often place "unrealistic" constraints (e.g. not being able to use standard library functions). Which isn't to say they don't test anything useful, but as someone involved tech-screening hires, I doubt I'd ever bother with a leetcode exercise. Mind you I wouldn't use Fizzbuzz either, but only because it's too well known and easy to regurgitate a standard answer for.