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.
Approved
python new test framework is required. updated in this fork
This is an excellent kata to learn about key= in sorting. Well done.
JS Node 18. (
mocha + chai
) should be enabledRandom test cases should use python's version to cover wider cases
As mentioned below, it's pointless to use both range
0.01-1
and1-100
.Moreover, as the spec currently is the case
1
is ambiguous, which means the spec is really terrible.Still pointless.
Also the case 1 is ambiguous.
Re-raising issue.
It is common in basic maths to deal with both formats, and it just adds conditional processing to the kata.
There is only 1 random test, and it's always an integer between 0 to 100 with number of throws = 1.
Did you add such a strange requirement because you don't actually know JS at all and can't even write things such as basic random tests?
What's the point of mixing up both numbers in percentage and non-percentage format? It's pointless.
Nice bit of fundamentals. Thanks for authoring. Would be interesting to develop a similar kata featuring larger arrays for which indexing performance might be important.
Whoops, First kata, didn't know how to approve yet. Thanks for the note!
Did you aprove it? It doesn't appear the python solution yet.
Cool. Thanks!
Python translation kumited. Random Tests added. Hope you like it
What should I do? :c very sad story :/
Loading more items...