Fizz Buzz Test

1 minute read

The “Fizz-Buzz test” is an interview question designed to help filter out the 99.5% of programming job candidates who can’t seem to program their way out of a wet paper bag. The text of the programming assignment is as follows:

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.”

Source: “Using FizzBuzz to Find Developers who Grok Coding” http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/

'’It would be more interesting if the numbers were -50 to +50. – mt <+*i + 67 Articles:

“Why Can’t Programmers.. Program?”:

  • http://www.codinghorror.com/blog/archives/000781.html
  • http://peripateticaxiom.blogspot.co.uk/2007/02/fizzbuzz.html
  • http://imranontech.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/ FizzBuzzInManyProgrammingLanguages Video: How to write FizzBuzz in Ruby, with Test-Driven Development - http://youtu.be/CHTep2zQVAc

I never got the fizz buzz test, but out of the blue lately I’ve been asked such stupid questions I was amazed I was even asked. Tell me about HTML. My favorite. How do you write a for loop. WTH? - (circa 2014)

Jekyll also offers powerful support for code snippets:

.highlight {
  margin: 0;
  padding: 1em;
  font-family: $monospace;
  font-size: $type-size-7;
  line-height: 1.8;
}

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.