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.
ooh, my bad. I think we need to return the K most longest String and keep it index sequence the same as it be in the given Array.So that we can just randomly change the K.
bro I try your solution on my array and K, the result doesn't matched the expecte result. arrayOf("thetaaaaaaa","zone", "abigail", "theta", "form", "libe", "zas", "abigailoooooo"),K: 2
i get "zasabigailoooooo" instead of "thetaaaaaaaabigailoooooo"
how can this pass the test? i'm so confused
This comment is hidden because it contains spoiler information about the solution