Monday 21 January 2019

Recursion In Maze Game

Question: Print all possible path in the 2D array from source to destination. Allowed motion is Horizontal right and vertical down.




Coding Solution:


Output:

VVHH
VHVH
VHHV
HVVH
HVHV
HHVV