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.
It's already there:
Your task is to return the first longest string consisting of k consecutive strings taken in the array.