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.
Thanks for the compliment and authoring this kata :)
@bmanandhar, I'm confused about what you mean by "star-sign" here. Personally, when solving a kata, most of the time I just type my solution directly into the Codewars solution box (part of that is because I'm wanting to practice for whiteboarding interview questions, so although it does give me syntax highlighting, it doesn't do autocompleting and some other things). But sometimes I write and test my solution in an editor, and then just copy and paste the code into the Codewars Solution box when I'm ready to run it against the test cases.
I did all I know w/o success. Can you tell me how guys upload the codes in general. Basically, I write codes on a different editor ('atom' or 'Anaconda-Spyder'), and load to the codewars browser window when it gets final, click the star-sign on a left hand upper corner next to a number. When loaded, I check by clicking the star-sign on the right hand upper corner to check if they are on the system.
Ah now I see it, thanks! Yeah placing .charAt(0) and ^ is a bit redundant :)
In which language?
For Python, tests use
date.now()
and take hours, minutes and seconds into account too.Don't forget you have to round your output as said in description.
Thanks for the heads-up -- I will clean that up later!
Unfortunately, that problem is known to the author for more than a year. It's very unlikely that the description will change.