Rat Chases its cheese using linked lists

How to approach this question using linked lists
please help with some hints,

You are supposed to solve this question using recursion and backtracking only …and not using linked list .

1 Like