Created
November 3, 2019 04:51
-
-
Save parzibyte/458a46446153a51f4b631032a4c9c22e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long fibonacciRecursivo(long posicion) { | |
if (posicion < 2) | |
return posicion; | |
return fibonacciRecursivo(posicion - 1) + fibonacciRecursivo(posicion - 2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment