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.
the goal is to build a single string from the provided array (strarr) using only consecutive array elements
k represents the number of array elements you are allowed to take out
strarr = ['a','bb','c','ddd']
k = 2
bb & ddd are the two largest of the array elements but they are not consecutive therefore do not work
the correct answer would be c & ddd
This comment is hidden because it contains spoiler information about the solution
The kata is problematic. I posted about it, but in the meantime, I'd skip it.
I cant understand the question ;-;. Can someone explain it a bit more for me...
This comment is hidden because it contains spoiler information about the solution
https://docs.codewars.com/training/troubleshooting/#print-input
Uhh it passed basic test but when I attempt it... 1 of the basic test failed... but the 200 tests passed... How am I suppose to know which input caused the fail....