Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does DFS stand for?
Think about different types of search strategies in graph theory.
What is a pre-number in the context of DFS?
Recall the sequence of actions taken when visiting a vertex.
What does DFS stand for?
Remember the traversal style it represents.
True or False: Pre numbers assigned in DFS indicate the exit time of a vertex.
Consider the definitions of pre versus post numbers.
Given a directed graph, perform a DFS starting from vertex A and describe the changes in pre and post numbering.
Make sure to carefully track when you enter and exit each vertex.
Analyze a graph with cycles using DFS. How do the pre and post numbers reveal the presence of cycles?
Look carefully at how your exit times relate to your entry times for detecting cycles.
5 more questions in this section. Enroll free to practise them all.
Enroll free