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.
Yeah thats fair. This solution also makes me uncomfortable but only because "Rectangle" is the superclass of Circle and Triangle. Just doesnt feel right
Python, don't make me cry :(
In python the default recursion limit is 1000. This kata has trees with sizes that will make your solution recurse much more than that ;)
This comment is hidden because it contains spoiler information about the solution
and you neither have to sort the arrays but fill the appropriate count of values instead. But I guess than it becomes more verbous (not an expert on Python's syntactic sugar)
Hey!
Thanks for working on the Java Translation of this KATA. Here are a couple of things I noticed:
Quark
class are missing thenew
keyword.Otherwise seems good to me.
Approved
Thanks :)
Not a kata issue, it's just how python works.
Default arguments are evaluated only ONCE, this means your set is always the same set in every invocation of the function.
Read more here. (notice the Important warning)
This comment is hidden because it contains spoiler information about the solution
It's the original function performed with a recursive implementation instead of loop. It keeps using itself with the n / 10 parameter until one of the first two conditions is met. Pretty neat.
What is
prevMultOfThree
?? never seen it beforeThank you! Sadly I'm not familiar with C. Hence, looking for feedback :)
C translation 🧺 :)
Yeah, I spent considerable time searching for how to restrict the values to the valid colors and flavors. Btw can anyone tell me how?
Loading more items...