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't ask for other people to give away the solution, you know? The task is to guess what the next
Math::random
call is going to return - how this can be done is for you figure out.same here
If your solution doesn't work for empty strings, that's your problem. Not an issue.
Your code may be correct but is too slow to pass the whole tests. That's what indicates a time out (unless your code gets lost in an infinite loop).
You cannot run attempt tests in other idles. They are partially random. This kata requires some performance optimization, it's part of the challenge. It's impossible to help you without knowing more, we don't even know which language you're using.
Just print peopleInLine to see the inputed test.
I had problems with that test as well. Printing the input helped me realise I had misunderstood the requirement.