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 most confusing question. Half follow different formula, the other half follow a different formula. We are putting them from longest to shortest right by k amount?
lol
Humm, ok, didn't think it was working like this, thanks for the answer @Chrono79 :)
Because
"ixoyx"
and"zzzzzzzzzzzz"
aren't consecutive, there is"3452"
between them.@RShields perfect, was about to say it in comments :)
testing(longest_consec(["it","wkppv","ixoyx", "3452", "zzzzzzzzzzzz"], 3), "ixoyx3452zzzzzzzzzzzz")
Why the answer not "wkppvixoyxzzzzzzzzzzzz"? oO
If somebody's able to explain why my solution doesn't work like it should on this case, I would totally love to understand xD
Thanks to anyone answering me on this one :)
Dunno, got an unknown error for nothing