forked from M3-Academy/challenge-algorithms-v2.0
develop #12
@ -1,4 +1,7 @@
|
||||
export function fibonacci(value) {
|
||||
// implementar logica aqui
|
||||
|
||||
}
|
||||
if(value <= 1){
|
||||
return value
|
||||
}
|
||||
return fibonacci(value - 1) + fibonacci(value - 2)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user