Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Think about
string
This comment is hidden because it contains spoiler information about the solution
You're welcome, keep it up.
Thanks!
Simple and beautiful kata to solve.
@JossGenre, wrong if space will be on the beginning.
Approved
approved
the
issue
part is that tests useexpect()
, which results in bad assertion messages. Re-raised above.But your code is wrong, because it does not handle large numbers correctly => the tests expect exact, stringified results
JavaScript:
O(n²)
solutions pass the testsBigInt
s should be used for the outputbignumber.js
in the description is now obsoleteretrocompatible fork fixing all
I have Unspecified AssertionError for Small and Big random tests in JavaScript.
Really nice kata, good job.
How was this a "copyright infringement"?
python new test framework is required. updated in this fork
Loading more items...