7 lines
104 B
Plaintext
7 lines
104 B
Plaintext
fibonacci: u32(u32 n) -> {
|
|
if(n <= 1) {
|
|
return n;
|
|
}
|
|
return fibonacci(n - 1) + fibonacci(n - 2);
|
|
};
|