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 need for the template string here
beauty
This comment is hidden because it contains spoiler information about the solution
sorry, my fault!
I just used your solution as the official solution to save the headache (with credit to you of course).
Thanks for taking the time to help!
For the reference solution, you can use
Number.toExponential
if you save it under a different name (security by obscurity, yada yada). That would save you a lot of trouble.I've done some cleaning up of the description. Fixed some spelling, some grammar, and some markup. Should still look more or less exactly the same. Hope you don't mind.
Needs a fixed test for
shorthand(0)==="0"
. Unless you don't want that.Everything would seem resolved now. The logic is now definitely easier than what I ended up with earlier.
(The reference solution does a good job of making the problem quite opaque; I can see why you were struggling.)
Note, I made
Number.toExponential()
unavailable to make this more interesting.Nice
Resolved
The following number sometimes appear multiple times and cause some flaw :)
I believe, (though at this point I don't know hehe) that everything is working as it should.
If you get any questionable results, please send them my way. Thank you all for helping!
cool :)
Loading more items...