7 ms·
Yes. this one is fun. Recursive, memoized Fibonacci, the 155th integer precisely. {{(-&2 +&$: -&1) ^: (1&<) M. y}} 155x It'll run in your browser in 0.003 sec
by jpf0 3y ago
Yes. this one is fun. Recursive, memoized Fibonacci, the 155th integer precisely.
{{(-&2 +&$: -&1) ^: (1&<) M. y}} 155x
It'll run in your browser in 0.003 seconds.
https://jsoftware.github.io/j-playground/bin/html2/#code=%7B%7B%28-%262%20%2B%26%24%3A%20-%261%29%20%5E%3A%20%281%26%3C%29%20M.%20y%7D%7D%20155x https://jsoftware.github.io/j-playground/bin/html2/#code=%7B...