Waste less time on Facebook — follow Brilliant.

Require problems on DFS

Can someone please suggest some Computer Science problems requiring implementation of Depth First Search. I wish to master Depth First Search implementation so that I can complete hard problems based on it.

I tried searching for some problems on Google Code Jam but right now it's hard for me to figure which problems are to be solved with DFS.

Note by Lokesh Sharma
3 years ago

No vote yet
1 vote


Sort by:

Top Newest

A \(2 \times 2\) Rubik's Cube can be solved with DFS but I guess the right solution is BFS. Try an implementation of both. Thaddeus Abiy · 3 years ago

Log in to reply

@Thaddeus Abiy If you want official problems,there should be some in this topcoder tutorial. Thaddeus Abiy · 3 years ago

Log in to reply


Problem Loading...

Note Loading...

Set Loading...