Skip to content

Instantly share code, notes, and snippets.

@spinagon
Created March 11, 2012 17:46
Show Gist options
  • Save spinagon/2073f59c843d4f54fb3c to your computer and use it in GitHub Desktop.
Save spinagon/2073f59c843d4f54fb3c to your computer and use it in GitHub Desktop.
def f(n); n<=1?1:f(n-1)+f(n-2);end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment