Project

fizz-buzz

0.01
No commit activity in last 3 years
No release in over 3 years
I got sick of doing this test in interviews, so next time someone asks me to do so, I'm going to instead hand them a business card with a URL for this gem on it.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.6.4
>= 0
 Project Readme

fizz-buzz¶ ↑

<img src=“https://secure.travis-ci.org/kerrizor/fizz-buzz.png” />

Why?¶ ↑

In interviews, I’m constantly asked to whiteboard (or actually code) my solution to the FizzBuzz problem. Its not a terribly challenging question:

"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”."

Most solid programmers who know their chops should be able to write it on paper in under 5 minutes. Lately its become one of the more fashionable interview questions, and while FizzBuzz problems will weed out the utterly lost and clueless, it really should be the first step, not the last, in evaluating a candidate’s potential.

With that in mind (and suffering from insomnia), I decided to go a step further:

  • TDD

  • release it a gem

  • explore some bits of Ruby I don’t get to work with often

  • putting it on the githubs

More on FizzBuzz problems, and how they fit into the interview process

Copyright © 2011-2015 Kerri Miller. See LICENSE.txt for further details.