Debian Codegraph @

vendor/mruby-source/benchmark/bm_fib.rb

raw
1 def fib n
2 return n if n < 2
3 fib(n-2) + fib(n-1)
4 end
5
6 puts fib(37)