Question DSA-GRAPH-0053
MediumA directed graph has edges A → B, B → C, C → A and C → D. How many strongly connected components does it have?
- A.
3
- B.
1
- 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
A directed graph has edges A → B, B → C, C → A and C → D. How many strongly connected components does it have?
3
1
Sign up free to see the answer and a step-by-step explanation.
2
4