...

/

Challenge 2: Implement Depth First Search

Challenge 2: Implement Depth First Search

After the BFS algorithm, you will now tackle the implementation for "Depth First Search".

Problem statement

You have to implement the Depth First Search algorithm on a graph using the data structures, which were implemented in the previous sections.

Note: Your solution should work for both connected ...