tianshuo
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
7 ms·
- 31.▲
- 32.▲
- 33.▲
- 34.▲
- 35.▲
- 36.▲
- 37.▲
- 38.▲
- 39.▲
- 40.▲
- 41.▲
- 42.▲
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. - 43.▲
- 44.▲
- 45.▲
- 46.▲
- 47.▲
- 48.▲
- 49.▲
- 50.▲
- 51.▲
- 52.▲
- 53.▲
- 54.▲
- 55.▲
- 56.▲
- 57.▲
- 58.▲
- 59.▲
- 60.▲
More ›