Skip to content

Instantly share code, notes, and snippets.

@AnasAboreeda
Created January 24, 2022 10:19
Show Gist options
  • Save AnasAboreeda/d539cac2bfcecd2cb96a59e04cc0cab8 to your computer and use it in GitHub Desktop.
Save AnasAboreeda/d539cac2bfcecd2cb96a59e04cc0cab8 to your computer and use it in GitHub Desktop.
int f(int n) {
if (n <= 1) {
return 1;
}
return f(n - 1) + f(n - 1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment