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.
Syntax for classes more than actual OOP. So I would agree that 8kyu is not that far-fetched.
Kata description is "Given an array with exactly 5 strings". And there is no specifications / requirements how the method should work if the argument array contains different number of strings.
It doesn't work with ['a', 'a', 'a', 'b']
But what if the length of the score equals two? Like "11:10"?
OOP == 8 kye?
Really?
Read the Troubleshooting please: https://docs.codewars.com/training/troubleshooting#post-discourse
Applied yours too, because I didn't like the random tests
it
being inside the fixed testsdescribe
. And also because of the nicer error message.Added to the final tests only, sample tests say d<21.
This comment is hidden because it contains spoiler information about the solution
https://docs.codewars.com/training/troubleshooting#print-input
This comment is hidden because it contains spoiler information about the solution