2 ms·
True, but then the "worker" fib() method should be called fib_calculate() and should be wrapped by fib() which then returns a single integer.
by dotancohen 6y ago
True, but then the "worker" fib() method should be called fib_calculate() and should be wrapped by fib() which then returns a single integer.
- eru 6y agoAgreed. I only left that out for brevity.