Question DSA-GRAPH-0072
HardWhat does Tarjan's bridge-finding algorithm compare for each tree edge (u, v)?
- A.
Edge weights
- B.
Whether low[v] > disc[u]
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Graphs question
What does Tarjan's bridge-finding algorithm compare for each tree edge (u, v)?
Edge weights
Whether low[v] > disc[u]
Sign up free to see the answer and a step-by-step explanation.
Whether u and v have the same colour
Whether disc[v] < disc[u]