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.
I assume you mixed up
x
andy
.If you intended to use x as horizontal size, y as vertical size, you need to access the maze like
maze[y][x]
.Maybe you miss out the following description:
choosing a single number and moving it some number of positions to the left.
You can't move number to the right.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
RRDRRRRRURRRRDRDRDLDRU
@Blind4Basics:
Sorry, I didn't know that playing with other solutions could cause issues. I'll use the Fork link when I want to try other solutions.
This comment is hidden because it contains spoiler information about the solution
In C++ version, this kata has performance issue.
I constantly got "Execution Timed Out (12000 ms)" error. (If I'm lucky, my code completes all test cases in 12 seconds, but it is rare case😥)
I checked more than 5 other existing solutions, but all of them had the same issue.
I'm not sure but I think it is because
_fib.cache
is always initialized whenfibonacci
function is called. You need to keep the cache data for better performance.String can have leading/trailing spaces, you should not count them;
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...