You are given a graph with five vertices (1,2,3,4,5). You are also told that the DFS sequence is 123245421 Which of the following are NOT possible edges to be left out of the DFS (2,5) (3,4) (1,4) (3,5)

icon
Related questions
Question
You are given a graph with five vertices (1, 2, 3, 4, 5).

You are also told that the DFS sequence is 123245421.

Which of the following are NOT possible edges to be left out of the DFS?

- [ ] (2, 5)
- [ ] (3, 4)
- [ ] (1, 4)
- [ ] (3, 5)
Transcribed Image Text:You are given a graph with five vertices (1, 2, 3, 4, 5). You are also told that the DFS sequence is 123245421. Which of the following are NOT possible edges to be left out of the DFS? - [ ] (2, 5) - [ ] (3, 4) - [ ] (1, 4) - [ ] (3, 5)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer