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.
You can print the input to the console if that's what you mean.
You should get logs from many tests before you run out of buffer space. Unless you are storing all the names somewhere (emulating the queue) and printing it out at some point - such algorithm will not work at all, and if you're using it, drop the idea and think how you can solve this task by using math.
Hum can I see the random test code? I have passed the fixed test but always have a failure doing the random test. Additionally, I can't get any output and check what went wrong because of the limited buffer.
This comment is hidden because it contains spoiler information about the solution
Oh that explains... thanks!
It's already there:
Your task is to return the first longest string consisting of k consecutive strings taken in the array.
Should specify what to do when two words have the same length.
The 4th test has this issue.