The larger tests don't use Fibonacci numbers but overflowed incorrect Fibonacci numbers.
Fixed
chai should be used instead of the old test framework.
chai
Also, global variables and console.log should be removed from tests.
console.log
Fun YAFK. However n=0 and n=1 are not part of fixed tests, and some wrong solutions pass the tests most of the times. The most voted one seems wrong to me. Raising this as an issue.
join() alredy returns a string, so toString() isn't needed.
Approved
need more random test
having more test cases would be perfect.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
The larger tests don't use Fibonacci numbers but overflowed incorrect Fibonacci numbers.
Fixed
chai
should be used instead of the old test framework.Also, global variables and
console.log
should be removed from tests.Fun YAFK.
However n=0 and n=1 are not part of fixed tests, and some wrong solutions pass the tests most of the times.
The most voted one seems wrong to me.
Raising this as an issue.
join() alredy returns a string, so toString() isn't needed.
Approved
Fixed
Fixed
need more random test
having more test cases would be perfect.
This comment is hidden because it contains spoiler information about the solution