fibo25.lua (119B)
1 fibo = function(n) 2 if n < 3 then 3 return n 4 else 5 return fibo(n - 1) + fibo(n - 2) 6 end 7 end 8 9 print(fibo(25))
bench-fiboUnnamed repository; edit this file 'description' to name the repository. | |
git clone https://logand.com/git/bench-fibo.git/ | |
Log | Files | Refs | README |