B.Tech S3 (S) Examinations May 2026 (2024 Scheme)QP 06PCCST303112504Part B · Q14a6 marksCO3Module 3asked in 2 papers
Question 14a
Write algorithm for graph traversal using DFS. Perform DFS on the given graph from source vertex E.
Figure (transcribed): Directed graph: E→F, E→G, G→F, G→D, F→B, A→B, B→D, B→C, D→A, D→C, C→A.
Transcription notes:
- The paper gives no tie-breaking rule; a solution must state one (e.g. alphabetical).
Topics: Depth-first and breadth-first search
Solution not published yet
We only publish answers that have been checked. Study the linked topic meanwhile.
Similar questions
- Nov 2025 Q14a · 6 marksWrite algorithm for graph traversal using BFS. Perform BFS on the given graph from source vertex 0. If multiple choices may be available for the next node choose in ascending order.
- Model QP Q13a · 4 marksThe Breadth-First Search algorithm has been implemented with the help of a queue. What is a possible order of visiting the nodes of the following graph is