Skip to content

Instantly share code, notes, and snippets.

FizzBuzz

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

Unique Numbers

Part 1: Write a function that takes an array of numbers, and returns an array of unique numbers.

### Keybase proof
I hereby claim:
* I am polyisobutylene on github.
* I am rfraser (https://keybase.io/rfraser) on keybase.
* I have a public key ASAbuShAxuUZqEFXuIe92un0czBheY-4tKqxhc0_24Adcwo
To claim this, I am signing this object:
Host comp
HostName hostname
IdentityFile ~/.ssh/id_rsa
User user
IdentitiesOnly yes
cat ~/.ssh/id_rsa.pub | ssh USER@HOST "mkdir -p ~/.ssh; cat >> ~/.ssh/authorized_keys"