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
This is such a helpful and clear explanation of this solution. Thank you for taking the time to write this out!
Newbie question: how do you know or find out what is faster?
Hi! I am trying to understand this solution. Can you explain why you chose to use data.length+25 for the while loop? Why 25? Thank you!
Thank you SOOO much! I changed my check for an empty array to input.length === 0.
I really appreciate that you gave me insight into how to figure out the problem, without just giving away what I should do. Thank you again!
This comment is hidden because it contains spoiler information about the solution
Thank you for these comments! Your reply and solution helped me think about this problem in a completely different way.