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.
Same here, I literally copied this solution and it still doesn't pass the big numbers test
This is what I had, it puts out an infinite loop on the big numbers
thanks Giacomo
I don't remember this kata 100%, but I guess you are getting there, yeah.
This comment is hidden because it contains spoiler information about the solution
True, but when you do
Math.log(pippi)/Math.log(pappa)
, you are computing the log ofpippi
in basepappa
[more info].Does it help?
As far as i remember ln(x)= power of euler's number that equals x
I'm trying to figure it out how you have used it here.
You could have asked me directly elsewhere, but, anyway: what does a logarithm do?
can someone please explain how natural logarithm function is used here?