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.
IMHO in C++ your map type msv could be better. If at one point you have to sort the keys with comparing the 'int' corresponding value (see the solution, 80% of them begin with that), then you would declare this comparator IN THE msv type !
In general (and also in this kata), even when input arguments are copies of objects to verify against, should input arguments be immutable?
For instance, in Java, we are allowed to mutate the Map<Integer, List> we are given.