educative.io

Educative

Is it possible to solve this using DFS?

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?