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.
python new test framework + random tests are required. updated in this fork
The specs are so vague there are at least 3 possible interpretations of the task, and none of them is clear until you hit the next test case in the actual tests that invalidates your assumption (again).
I got the same problem. What is this crap?
I found out the solution, when i unlocked the solutions of this kata. You need to return more than just resultObj. You shoud return {factor: resultObj}
I found out the solution, when i unlocked the solutions. You need to return more than just resultObj. You shoud return {factor: resultObj}
I found out the solution, when i unlocked the solutions of this kata. You need to return more than just resultObj. You shoud return {factor: resultObj}
This comment is hidden because it contains spoiler information about the solution
if you have same summ of sentences, need to sort by default input index
quote from Johan's solution:
Why do you need to do the a.idx - b.idx?
No random tests.
Python random tests generate numbers with leading zeros, e.g.
Fixed
Added random tests.
Fixed it myself
Loading more items...