• + 1 comment

    Not too bad once you read up on backtracking - was able to come up with a relatively short recursion to solve the maze then use the solution as an input to check the 'chance' condition for the final output.

    Found this to be quite helpful: https://www.cs.bu.edu/teaching/alg/maze/