Skip to content

Instantly share code, notes, and snippets.

@picsoung
Created October 3, 2022 06:02
Show Gist options
  • Save picsoung/8ee1bb263092f7072bfa59159ee11658 to your computer and use it in GitHub Desktop.
Save picsoung/8ee1bb263092f7072bfa59159ee11658 to your computer and use it in GitHub Desktop.
unsigned fun(unsigned n)
{
if (n == 0) return 1;
if (n == 1) return 2;
return fun(n-1) + fun(n-1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment