Skip to content

Instantly share code, notes, and snippets.

@welldan97
Created March 30, 2012 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save welldan97/2251219 to your computer and use it in GitHub Desktop.
Save welldan97/2251219 to your computer and use it in GitHub Desktop.
fib(0) -> 1;
fib(1) -> 1;
fib(N) -> fib(N) + fib(N-1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment