Sha256: fbf53129b465595884e77f100e3d4cc6c7aa25fbe2b213052e6f3b018f0e7cd0

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

= fizz-buzz

== 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 in evaluating a candidate's potential, not the last.

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

* TDD
* making it a gem
* query methods
* putting it on the githubs


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

* http://c2.com/cgi/wiki?FizzBuzzTest
* http://imranontech.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/


== Copyright

Copyright (c) 2011 Kerri Miller. See LICENSE.txt for
further details.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fizz-buzz-0.3.0 README.rdoc
fizz-buzz-0.2.0 README.rdoc
fizz-buzz-0.1.0 README.rdoc