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.
Ah yes, good catch. I was going for dense and elegant, and missed that case.
This one counts the string "True" along with the boolean True.
The denominator must be common to all rationals.
Hi, just have a simple doubt. The kata description says to find the minimum possible D. In the first example, 1 / 2 == 6 / 12, but shouldn't be 1 / 2 == 2 / 4 or even 4 / 8? Am I missing something in the description?
I want to give crap for those edge cases... but I understand that they are day to day stuff we have to deal with, so I wont. Only one thing tough, there is one case that has you modifying the function chunk argument. That should already be taken care of, for the simple reason that the function definition appears by default, and most people don't think of changing any of that, at the assumption that the author created it correctly.
So, either remove the complete function definition or eliminate the case when no chunk size is entered. It could be left if the feedback from the test cases were more accurate but in my case all I got was that process took way too much time to complete, it never told me anything about missing arguments.
I agree. I think that at least should be 6 or 5th Kyu. The tests cases put an pretty good emphasis on performance.
Edit:
My bad, no performance issues here, just that the feedback from the test cases is all messed up in those invalid chunk size edge cases. It always says process took too long. I would suggest to pass those test cases upfront, and just leave the random ones hidden.
yup. this kata was pretty challenging. one of the test cases was "this kata easy" and far from easy
Is this sarcasm?
kata is easy author said.good luck with random edge cases
This comment is hidden because it contains spoiler information about the solution