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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Totally agreed. Why can't we decrease kyu?
Makes sense. Thanks for your input!
This comment is hidden because it contains spoiler information about the solution
I agree. It's probably a 5.
Can someone approve my translation? https://www.codewars.com/kumite/6109ad33bd3e4500070f3641?sel=6109ad33bd3e4500070f3641
This is hardly a 6 kyu. More like 7 or 8.
"The fifth part can have length equal to the other ones or shorter."
And immediately after:
"If [...], choose the option where the fifth part has the longest length, provided that the previous conditions are fulfilled."
I would be really, interested in knowing how the fifth part can have equal or less length to a given X, but simultaneously has the "longest length". What?!
I agree. It's a shame. I really liked this problem.
This is wrong.
Solution setup has "firstNonRepeating" but test cases will try for "FirstNonRepeating", so Go can't find a function named like that. Notice the first letter is uppercase in the first character for tests but not the solution setup. Please fix this.
If the code runs correctly, it will return said pair and end execution. If it doesn't find the pair, it will continue running until it finds this "return nil" statement. In this case, the description specifies you should return nil when no pair is found, so this does right that.
Hope I was of help.