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.
Duplicate: https://www.codewars.com/kata/581d1d669ae06274d5000074
It's a solution who most people don't understand.
short, yes. smart, yes. clever, yes. but not best practices.
I like that you explain the solution :)
Issue resolved. Thanks for the kata.
Thanks for your issue, this bug has been fixed just now, you can test it again :)
Thanks for the kata, but it appears there is an error in your test cases. Anytime strng.length() is 2 and k=2, it appears your tests are incorrect.
Examples
that kata is too hard for me now :( but I am glad to read your comment, which is first discourse in my first kata ;)
Not a duplicate, but it's pretty much the inverse problem of this kata :)
could somebody explain this solution? any help will be appreciated.
@JustyFY But in Java, you put a List as the parameter, so it's neccessary to
import
List, isn't it?