Print the Fibonacci series (the first 10 values) separated by spaces. If you've ever taken a Computer Science class, you should be all over this one.
Created
March 13, 2012 14:53
-
-
Save jswartwood/2029257 to your computer and use it in GitHub Desktop.
AE Code Golf #1
Solve the "Premise".
The smaller (bytes) the code, the better; if no one can shrink further, you win! It is good form to provide a (documented) non-minified version of your code, but it isn't required.
The programming language is dev's choice; however, languages should be compared both in isolation and overall (eg. your solution may be the best PHP solution, but Ruby may best it).
Add solutions in an appropriately suffixed solve
file (eg. solve.js, solve.py).
Enjoy.
Just fork this gist if you want... others not interested in doing the github thing, can post via email, jsfiddle.net, their own hosting, or whateva.
Can't fork yourself :(
Forked Sam to keep it clean here.
https://gist.github.com/2044436
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where do you want to store/share these solutions? SVN? Email?