Hi guys just wondering if anyone has solved this using DFS ?
1 Like
It’s possible.
With modification with this https://www.geeksforgeeks.org/find-paths-given-source-destination/?
What do you think?
It’s actually BFS fashion because of using recursive call.
Just shared my approach with clear DFS!