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.
The behavior of the code in case of exceptions is completely not described. The task is a puzzle. And a waste of time.
It's unclear what the goal is -- performance? type checking? -- my solution passed before I even started to address either
or just input
Word
s. why do input validation when you have a frigging type system to do it for you?python new test framework + random tests
I cannot wait to solve more complex problems on dynamic programming and efficient algorithms just like this one, thanks for the kata.
Great mathematical coding challenge to have fun with.
Approved
python new test framework + random tests + snake_case (with backward compatibility) are required. updated in this fork
Prolog translation
Closed (Kumite approved)
Fixed by fork above.
Approved.
Kumite with a fix
Ruby fix (use Ruby 3.0 with new test framework + random tests)
JavaScript fix (move to mocha+chai, add missing random tests)
Loading more items...