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.
This comment is hidden because it contains spoiler information about the solution
p.s. using the queue is genius, i never even thought about using it, good stuff
i love it, this is a masterpiece
Lmao why am I laughing
Your Mom6969 is the CHAMPIOOOONNNNN!!!
ok
it might be that you are returning a array of 0's, while you are supposed to return an empty array. remember that even zeros count as elements in an array. (to return a empty array, try this : return new int[0];)
forget that, I should read the descriptions better...
added random tests, thanks for the feedback!
thank you! I re-did my description and made sure to keep everything organised and clear. Appreciate the feedback.
What happens if none of the two people has their name starting with
z
? This is not specified in the kata description.No random tests.
using a ternary operator, this is so genius!