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.
I think this is ready to be released ?
Instructions are clear, and good examples.
PERFECT :D
I fixed that "00:00" time, and added "00:00" as valid time.
I think you're right, there wasn't any logic behind that constraint, I've added "00:00" as valid🙏
I've added "00:00" as valid🙏
But
00:00
is a real minute that exists within 24-hour time. Do you mean00:00
is expressed as24:00
instead?It's not funny. You should provide a real reason for that.
I've added "00:00" as valid🙏
Diasllowing 00:00 as a valid time is just an unecessary side-constraint (and the kata-description lacks clearness anyway).
sorry for any inconvenience🙏, this was my first Kata :D I should consider random test cases before publishing, Thank you for your help🙌
for your solution, for example:
the inputArray is: {5,8} your solution return ":58" but it should return "-1" because we don't have valid digits to create "Hour", if we have {0,5,8} then we can create "08:58". (we need an additional 0 or 1)
(I have explained this situation on Example 3)
if the inputArray is: {8,5,8}, because we don't have 0 or 1 to create our "Hour" it should return "-1".
Thanks a lot, I've fixed that.
Your computed
actual
andexpected
values for random tests are the same.I have added random tests to the Kata.
The kata needs random test cases.
Loading more items...