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.
Neat!
Now it is working without the commented line. Thank you!
This comment is hidden because it contains spoiler information about the solution
In kotlin version: Incorrect answer for disks=64 expected:<0> but was:<18446744073709551615>
Please review the kotlin translation.
This comment is hidden because it contains spoiler information about the solution
Elegant solution.
I made a Kotlin translation... (it is the same as Java, but at least the kata appears in Kotlin searches as well :))
Thank you, I'll look into it. Also, I allowed contributors, so feel free to edit if you find the issue. :)
The question is "How satisfied are you with this kata?" and - as I stated above - I think the Kata itself is great, but a lot more challenging than any other 4kyu I solved, so I felt a bit "tricked" (I don't know the correct phrase for this, not exactly what I signed up for). Again, I appriciate the author's work, but the question is about my satisfaction, I answered honestly to that question and suggested something that would make a nicer experience for me. I might be wrong about the ranking, but I don't think someone's satisfaction rating is debatable.
To move this Kata to a higher tier.
I added "Somewhat" rating to this Kata. The Kata itself is excellent and thank you KenKamau for posting it, but it is clearly not 4kyu, it is at least 2, so I spent a lot more time solving it than I expected.
I've
Could you please check these?
I'll look into this, thanks!
Hi Len!
Are you sure that it is expecting True? I've just quickly tested it with the following and it gave back False:
val calendar = Calendar.getInstance()
calendar.set(1999, 12, 6, 1, 11)
val timesQuestion = arrayOf("0:00-00:00", "8:00-08:00", "8:00-10:00", "8:00-10:00", "8:00-10:00", "8:00-10:00", "8:00-10:00")
val openingHours = OpeningHours()
println(openingHours.isOpen(timesQuestion, calendar.time))
Loading more items...