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
I know this is horrible code btw (inluding unused variables etc), but getting to this solution took me so long I didn't have the patience to stick around and refactor!
I like this solution, not showy, but clean and concise. Good job.
This is great. I didn't know about URI.parse or that #last could take an argument! Thanks
I'm inclined to agree. It's not testing your coding ability so much as your knowledge of powers and big numbers. That said, once you've found the 'rules' to determine a last digit, it's more straightforward, but then - as you say - you may as well have just looked up the solution.