I have a set of vertices and some vertices have certain conditions that might be imposed
For a given pair of vertices u and v, one of these 3 conditions have to hold true for that pair
- The starting and finishing time of u contain the starting and finishing times of u
- The finishing time of u must be before the finishing time of v
- No condition
Now given a set of these conditions, have to make an algorithm that states whether a graph with such a depth first traversal exists?