Question
Apply DFS algorithm to find a spanning tree of the following graph. Also find all the fundamental cycles of the spanning tree.
Answer :
Word Count : 285
We first interpret the graph (vertices are labeled ( {1,2,3,4,6,7,8,9} ); there is no vertex 5). Edges present in the graph (from the figure): Left part [ (1,2), (1,3), (2,3), (2,4), (3,4) ] Middle–right part [ (4,6), (6,7), (7,9), (6,9), (6,8), (8,9), (4,8) ] --- ## 1. DFS Spanning Tree Assume: * Start vertex = 1 * Adjacency explored in increasing numerical order ### DFS traversal [ 1 \rightarrow 2 \rightarrow _____ ______ _________ __________ ____ ___ __________ ___ ___ ________ _________.
___ ___ __________ ____ _______ _________.
____ _______ ___ _______ ____ __________ _________ ______ ______ __________.
_____ _____ ___ ______ _______ ___ __________ ____ ____ ____ ________ ________.
______ _________ ____ _________ _______ ________ ________ _______ __________ ______ ____ __________.
_______ ___ ____ _____ ________ _________ ____ _______.
_______ _______ __________ _______ ______ _____ _____ ______ __________ ____.
_________ _______ _____ ________ ___ _____ ______ ______ __________ _____.
_____ _____ ________ ___ _________ ___ ________ _____ ________ _________ ______.
___ ________ __________ ____ __________ __________ _______ _______ ___ __________ _____.
____ ___ _____ _____ _____ ___ ______ __________ ___ ____ _________.
___ ______ _____ __________ _____ __________.
_______ _________ ____ _________ ___.
_________ ____ _____ __________ _______ ___ _______ _____ _____ _____.
____ ______ ______ ________ _________.
_______ _____ __________ ____ ________ ____ _____ _______.
____ _________ ____ _________ _________ ______ _____ ______ ________ _________ ____.
_______ ______ ___ _____ _______ ________ _____ _________ _________ ______ _____.
_______ _____ ____ ______ _____ ____ ___ ______.
___ ______ _____ ________ ____ __________.
________ __________ ______ __________ __________ _____ ________ _______ _____ _________.
__________ ____ ___ _____ _____.
____ ______ ________ ___ __________ __________.
_______ _______ __________ __________ _______ ________ ____ __________ ____ ________ ____.
Get Full Answer on WhatsApp
We first interpret the graph (vertices are labeled ( {1,2,3,4,6,7,8,9} ); there is no vertex 5). Edges present in the graph (from the figure): Left part [ (1,2), (1,3), (2,3), (2,4), (3,4) ] Middle–right part [ (4,6), (6,7), (7,9), (6,9), (6,8), (8,9), (4,8) ] --- ## 1. DFS Spanning Tree Assume: * Start vertex = 1 * Adjacency explored in increasing numerical order ### DFS traversal [ 1 \rightarrow 2 \rightarrow _____ ______ _________ __________ ____ ___ __________ ___ ___ ________ _________.
___ ___ __________ ____ _______ _________.
____ _______ ___ _______ ____ __________ _________ ______ ______ __________.
_____ _____ ___ ______ _______ ___ __________ ____ ____ ____ ________ ________.
______ _________ ____ _________ _______ ________ ________ _______ __________ ______ ____ __________.
_______ ___ ____ _____ ________ _________ ____ _______.
_______ _______ __________ _______ ______ _____ _____ ______ __________ ____.
_________ _______ _____ ________ ___ _____ ______ ______ __________ _____.
_____ _____ ________ ___ _________ ___ ________ _____ ________ _________ ______.
___ ________ __________ ____ __________ __________ _______ _______ ___ __________ _____.
____ ___ _____ _____ _____ ___ ______ __________ ___ ____ _________.
___ ______ _____ __________ _____ __________.
_______ _________ ____ _________ ___.
_________ ____ _____ __________ _______ ___ _______ _____ _____ _____.
____ ______ ______ ________ _________.
_______ _____ __________ ____ ________ ____ _____ _______.
____ _________ ____ _________ _________ ______ _____ ______ ________ _________ ____.
_______ ______ ___ _____ _______ ________ _____ _________ _________ ______ _____.
_______ _____ ____ ______ _____ ____ ___ ______.
___ ______ _____ ________ ____ __________.
________ __________ ______ __________ __________ _____ ________ _______ _____ _________.
__________ ____ ___ _____ _____.
____ ______ ________ ___ __________ __________.
_______ _______ __________ __________ _______ ________ ____ __________ ____ ________ ____.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★