Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: