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.
hats off to you bruh
not fixed.
The best dicision!
In Java basicTests() expected and actual values are swapped.
"along integer points of the straight line." is meaningless, and even wrongly suggests linear interpolation.
You can just remove it.
Thanks! Fixed.
I used ChatGPT to do the translation, from the Python version, and didn't check it carefully enough.
I wonder why the previous people who did the Java version didn't notice!?
In Java fixedTests() expected and actual values are swapped.
The point of this kata is to find and code the required algorithm, not to create a production-grade application. Moreover, if you succeed to write a code that exploits the fact that deck lengths aren't rendom, instead of simply writing the very simple expected algorithm... well, you really deserve to pass this 7kyu kata :-)
nope! I still get the error in random tests, is your ref solution correct?
Same with Java
Fixed when random length became random
CS added empty test and random tests are now randomly random long
Fixed
ALL LANGUAGES except Python:
There should be a sample and fixed test with empty deck
Random tests should use decks of random length
Loading more items...