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 bud!
Good kata 👍
I've updated the description to say that the names are unique.
There needs to be a test case where there are persons with the same name and different IDs
bornForThis, the people names are expected to be unique. I can add that to the kata description if you think it would help.
Thanks dfhwze. I've published an update to handle this situation.
What if more than one person with the same name visits the same number of couuntries? :) I think that to cover all possible cases there should be 3 ordering criterions
What if more than one person visits the same number of countries, how to order the results?
Also this is still a duplicate of https://www.codewars.com/kata/string-repeat.
Some language version does not have random tests.
Fixed
Sample test is failing for me even though submission passes.
"Time: 635ms Exit Code: 255
Test Results:
Log
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /home/codewarrior/run.php on line 13"