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.
Yes.
My numbers are reaching infinity. Am I approaching the problem incorrectly?
Finding the LCA is a well known problem. This probably made most early-solvers vote kyu 6. If you want even more of a challenge, there's this kata waiting for you :)
This is a 6? How can this possibly be the in the third easiest out of 8?
We cannot help since you provide no information.
I got a weird error for the random tests but could not figure out why.
OK we get it you're great.
The point is this:
Because you try to apply
map
to something that isnull
, and this is incorrect in (I guess) JavaScript.Whenever I solve the test I get the error > TypeError: Cannot read property 'map' of null
Any idea why?
Thanks! I wouldn't be able to solve if I hadn't read your comment.
Really a 6?
This took me hours as I had to redo my code many times but it was a blast. Great kata!
It looks like this code times out now. Does anyone have any idea why?
Yea I would have to agree. This should be a 3 or 4 I feel.
Loading more items...