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.
no, what did they change?
whatever man! :)
Try to do the hard work with maths. I got it working in < 1ms for larger numbers than the solution asks. You don't want to be looping through every number between 1 and the given number.
It took me a week to get it, but it was so satisfying! I got it running in 172 microseconds on my PC for 1234567890.
My error log is unable to get this to run in less than 6000 ms. I have tried some other solutions but still not pass this requirement.