Hacker News new | ask | show | jobs
by toasterlovin 2683 days ago
Given that many job applicants apparently can't write a Fizz-Buzz implementation, I'd say that being able to implement an algorithm is probably a reasonable way to cull the herd by a hefty margin.

https://blog.codinghorror.com/why-cant-programmers-program/

1 comments

It's made me angry how many people I've interviewed who can't manage Fizz Buzz with only 2 conditions or at all.
I'm kind of angry that I've never been asked to do it.
I'm curious to find out what people define as fizzbuzz, do you have a good example of something you've asked in the past?
Print numbers from 1 to 100, except print Fizz for numbers evenly divisible by 3, print Buzz for numbers evenly divisible by 5, and print FizzBuzz for numbers divisible by both 3 and 5.