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.
fixed
I was practising Go, and I guess the top 5 answers missed the check for the ranges of h, m & s. :P
Just highligting the fast-coding approach without reading the whole task lol
Can someone point out why this is a best practice?
it is not self-explanatory and it bears a lot of nested functions, however it is a maintable code(In my opinion)