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 comment is hidden because it contains spoiler information about the solution
And how much it need to be?
Clever approach
waiting for someone to review
Golang translation for Leap year kata
Golang translation
Random tests seem a bit unfinished: it never produces 12 for hours and 7 for days. I think it should generate numbers [0;12] and [0;7]
This comment is hidden because it contains spoiler information about the solution
There is also ambiguity in the format of 3-12-3. It is unclear whether 12 represents 12 o'clock or 24 o'clock.
It may be worth considering an alternative format.
Regarding your random example, 'workHours("3-8-5")', it is unclear whether the range is from 3 o'clock to 8 o'clock or from 3 o'clock to 20 o'clock.
You are passing integer in your sample tests: 9-5-5 (which results in -1), not string
Really satisfying kata after resolving
But it lacks cases so solution may be imperfect and still pass all the tests
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It is clever, but should not be considered as best practice due to recursion stack overflow on long inputs
Still needed golang warriors to test this Kata
Loading more items...