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.
You showed 2 9x9 mazes
Personally, I find loops harder to read and just as error prone as regular expressions. And it's a nice opportunity to practice them regexes :)
approved !
Grids are always square. This is not one grid.
In the update for
Node 18.x
I have also improved the tests output. This won't happen after that is approved.That would certainly be more cerebral.
However, where do you draw the line? Writing you own upperCase, min, max, etc functions? If the language supports it, out of the box, then it's out there to be used.
Great kata even though some JS helpers should be forbidden to make it harder
I'm stuck with this kata for 3 days and then this :,c
Hi everyone, good one this one. Queston, if you may:
I got my code to pass all basic test cases, and Attempting results in around 99% complete, but two or three recurrently fail, always with the very same value:
"79 should equal 87"
Any hint? Why is that so specific?
Thanks!
Good kata :)
Same issue still occurs after adding a separator to see if it was the same solution being called twice. I have written my own implementation of the A* algorithm but i really doubt the bug comes from there. You can still read my solution i guess.
it can, if its printed by two separate tests.
even if you print only once, but your solution is called twice, then two mazes will be printed.
print some additional separator after each maze and see if this changes anything.
I have done only one printing in my code, in the beginning of the pathFinder function so it cannot be two mazes printed one after another i guess
Are you sure its a one maze, and not two mazes printed one after another?
This comment is hidden because it contains spoiler information about the solution
I now have an idea how to do this, thank you for the comment ! Are there any good resources you would recommend that treat this subject ?
Loading more items...