feature/algoritmos #1

Merged
cainamilech merged 12 commits from feature/algoritmos into master 2022-10-29 19:58:08 +00:00
Showing only changes of commit 2efed9f049 - Show all commits

View File

@ -1,4 +1,6 @@
export function fibonacci(value) {
// implementar logica aqui
if (value === 0 || value === 1){
return value;
}
return fibonacci(value -1) + fibonacci(value -2);
}