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.
Could you explain what does strarr[index:index +k] do
I found something Helpful suggestion from early comments and just want to repost what he commented
It is pretty helpful to understand that's why..
Crd --- Tigerdevon
Example:
longest_consec(["it","wkppv","ixoyx", "3452", "zzz4zzzz9zzz"], 3)
The three options:
k(int) is the reason why there are 3 strings per answer
The answer is:
3) "ixoyx3452zzz4zzzz9zzz"
No, because that's not what you have to do.
You have to return the first one if there are more than one with the same length.
This comment is hidden because it contains spoiler information about the solution