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 is due to Kotlin version is stuck at 1.3 at the time of writing this solution. However, 1.9 has been enabled now and the above warning should not happen again.
Your division and remainder logic is wrong. In the case of
62
, it should be1 minute
, but for your code hereit yields 0 minutes...
Approved
Merged
This fork should fix the issue
to easy for 4 kata))))
oh, that's right! thanks
From spec:
Who can explain me the problem:
My result in my log is:
Looks like everything is ok, but:
Can you explain what "array size extension" is exactly? I'm looking at your answer and see "fill" and "concat". Would these not be considered array size extensions also? Is your answer the best answer? If so, is filling a new array and concat better than push and spreading? How come?
man I gotta say...super beautiful thinking. Amazing answer and amazing solution.
I did the same calculus, but you put it so, so beautifully in code. So clean.
All the respect man.
yes that solution is not be best because of unnecesary loops.
but yours has unnecessary array size extension (pushs) too. same with array destructuring
slow
What do you need months for?
The calculation are easy, but the formatting is a bitch..
Very fun kata tho!
Loading more items...