What exactly is FizzBuzz?

  • FizzBuzz is a very simple programming task, used in software developer job interviews, to determine whether the job candidate can actually write code. It was invented by Imran Ghory, and popularized by Jeff Atwood.
  • The FizzBuzz code prints the numbers from 1 to 100 and for multiples of '3' it prints "Fizz" instead of the number and for the multiples of '5' it prints "Buzz". If the code produces lines of code that has multiple of both '3' and '5' however, it will print out "FizzBuzz"! Pretty cool right!?