Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
fizz-buzz
JavaScript
branch: master
Failed to load latest commit information.
README.md Update README.md
fizz-buzz.js

README.md

fizz-buzz

My solutions to the 'fizz-buzz' coding interview challenge, implemented in <= 120 characters, so it can easily fit in a text message or tweet!

Was reminded of this interview favorite lately, and decided to tinker with it a bit on my iPad during lunch recently.

For more info on this fun little challenge—that despite how easy it is, it seems many developers and programmers don't know how to do(?)—it goes something like this:

"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)

Something went wrong with that request. Please try again.