Is there any approach using linked lists to solve this ques as it is mentioned in the linked list section. The approach that comes to my mind is using backtracking.
Rat Chases its Cheese
@priyanshi.agarwal3405 No, this is a question based on Backtracking concept. There is no such approach using Linked List. It is given in the Linked List section by mistake.
ok… thank you