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.
looks like sonic.exe
ok, thanks.
I think that it depends on the language and its translations. In JavaScript, mother has alyways a child. If you get tests without children, then you can assume that its not required ;)
Is it possible for the mother to not have children? The discription kind of says that every mother at the mother and child dance party has a child... I'm getting tests for ones who don't have children. Is this supposed to happen? I'm using Java.
Thanks
hmm. I see. If i remove that, it says Max buffer size reached. Very nice code.
ah, so that's how you do it. I was close, kind of. Thanks!
I want to be able to use the lower of those two numbers to run the operation because it will then require fewer recursive calls.
Why do you need to sort though? a,b = sorted(a,b). so then, a=b and b=a?
oh ok. I made a fork showing my understanding. (Made before i saw what you typed here.)
resetting the recursion limit takes place in order to allow Python to go to a deeper than normal recursion depth.
ceil
is used on the valuea
because it could be afloat
, andint
is needed forsetrecursionlimit
.the
return
statement is a double-ternary, which in a standard syntax look like this:I tried, though im still a bit confused about this code.
What is this? why is the formatt so different? What does it do? How is c changing? Ill say what i think this means...
c = the number of added as/bs. so, he goes through a/b? is that what
is for? and given it says
ceil(a)
, does it mean that he's going through a? im confused, please help.Loading more items...