Citadel Interview Question

Maze problem involving a matrix and recursion