Skip to content
Azhimathi Mayam logoDSA Study HubPCCST303 · KTU · S3
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