Skip to content

Instantly share code, notes, and snippets.

@RMuskovets
Created January 13, 2019 15:43
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 RMuskovets/afb1d79a92042a993b13f5e0b988b99d to your computer and use it in GitHub Desktop.
Save RMuskovets/afb1d79a92042a993b13f5e0b988b99d to your computer and use it in GitHub Desktop.
return (n<2) ? n : (fibonacci(n-1) + fibonacci(n-2));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment