Topic: Backtracking Problem / Level: beginner

Problem: Solve the "Optimal Path" problem in a grid where movement is only allowed in certain directions.

Run the code to see the output here...