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 lack of a description of the Room object for the Java version is a sloppy conversion. Should be updated to include this.
It's logging that
1.2.3.4
should return false, but in the list of valid inputs it's considered valid, so shouldn't it return true? All other tests pass.Good Kata, nice work! I think updating the Node version would be a good idea. The JS sort method has been stable since 2019 and that should be reflected in the Kata.
Thanks for the suggestions 🙂👍🏻, random test added.
Have added random tests and some edge cases: empty strings, one letter string etc.. Thanks for the suggestions 🙂👍🏻
The kata is good, but I think it should be an 8 kyu not a 7.
Javascript version: there seems to be an error with the tests, testing in VSCode returns the correct results and everything is sorted correctly using the sort() method. The correct output is given for the tests, but there are not coming through as correct on here.
A good idea, could be clearer with the testing criteria and should accept BigInt, or at least say that it'll not be accepted and a work around must be found.
😂 This must've taken real dedication!