4 ms·
The test cases for the Fibonacci sequence is terribly bad, you can cheat by returning fn = n=>[0, 1, 1, 2, 3, 5, 8, 13, 21, 34][n] You need random test cases an
by tianshuo 7y ago
The test cases for the Fibonacci sequence is terribly bad, you can cheat by returning fn = n=>[0, 1, 1, 2, 3, 5, 8, 13, 21, 34][n]
You need random test cases and larger test cases.
Codewars is definitely better than this.