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.
It is a string comparison.
The strings are all like "3:2". So it is "3" > "2" and 3 > 2. String comparison and integer comparison have the same result in this case.
Here the values are all single digits. The method fails if a string is like "12:8" because "12" < "8" and 12 > 8. However, two-digit results are not part of this kata.