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.
Thanks!
You may find some others you like here: https://www.codewars.com/collections/dinglemouse
:-)
Thanks for this kata, this is my favourite so far.
I think the rangom tests violate the given assumptions: 'there will always be a rank 1 in the given input ranks are of type string
rank numbers are incremented, and not skippped (1.1 could be followed by 1.2, not 1.3)'
Random test:
['2', '2.1', '2.1.1.1', '2.1.1.1.2', '2.1.1.2', '3', '4']
^ no ^ skipping 2.1.1 here
rank 1 here