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.
The initial solution is missing the
List
import.If you choose to add it, here's the fix for it: https://www.codewars.com/kumite/669cc3559f0b5a0ef83e9d38?sel=669cc3559f0b5a0ef83e9d38
Very great kata, however will be nicer if you added more testcases and some edge examples. I enjoyed it a lot :)
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/192.
Please join the discussion to help us identify duplicate kata and retire them.
Please add in the description section that months starts counting from
1
- (January).Python translation
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/126.
Please join the discussion to help us identify duplicate kata and retire them.
Duplicate?
Dictionary lookup is not a novel kata idea.
Duplicate.
It's not stated what to do when the second date comes before the first date.
The likes of
CNY
andEUR
aren't currency symbols, they're currency codes. The kata's using the wrong terminology.To make the utility of the kata appearant (because it's clearly not obvious if you don't already know about it), you should give a small hint in the decription. Somehting pretty evasive... like "there is a way to do that without harcoding hundreds of answers..."). Without that, your kata may look like totally useless/boring... before seeing actual good soltuions...
There needs to be data on the days of the week, I shouldn't have to be googling it.
This comment is hidden because it contains spoiler information about the solution
You need to clarify that
month
is 1-based. There are two standard Java APIs (Date
andLocalDate
) and they use two different month conventions.I'd prefer if you change the description (and the comment in the sample tests) to
TheDayNextYear.getDayOfWeek(2017, 10, 10) should return "Wednesday" because 2018/10/10 is Wednesday
.Loading more items...