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.
@rmep That's right. Now the solutions on the Internet are outdated, their O is too big. A small reminder is to reduce the number of Loops.
I have the same problem, I also tried to google it and tested it with other peopleĀ“s code, and still getting out of time.
Try to make your algorithm faster. I have passed it.
solved. Make it faster and faster.
the same
I don't know why it is always out of time.
This comment is hidden because it contains spoiler information about the solution
This is like the fast normalization in quake 2. Really clever and well optimized but without comments, incredibly bad.
I really like this solution. Clean and readable.