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.
It's cool to see people still are playing with this;
I haven't looked at CodeWars in a while, sorry about that, but looks like you got it aproved
I see, your solution is bypassing the point, so I added a 30x30 character restriction
I really appreciate your comment!
I have corrected all the spelling errors I could find, I believe I caught all the ones you mentioned.As for 8, I think just removing that bit makes it less unclear (why am I using a double negative? IDK...) and 10, I did as you suggested and reformatted the bottom a little to compensate.
lol, I just replaced 3 with 2 in my code, I didn't check it. I'm just going to trash this Kata.
I got
returning the path has been done, and 2*n+1 is basically the same thing...
Sorry, I didn't check.
This comment is hidden because it contains spoiler information about the solution
You're using two for loops that go all the way to n.
You simply have to either get rid of one of the for loops or at least minimize which tests you look at.
I had the same issue and I chose to get rid of one of the for loops, although that meant I had to deal with floating point errors.