GATEverse
← GATE CSE 2022

Q48

NAT2 marks

Let G(V,E)\textit{G(V,E)} be a directed graph, where V={1,2,3,4,5}\textit{V} = \{ 1, 2, 3, 4, 5 \} is the set of vertices and E\textit{E} is the set of directed edges, as defined by the following adjacency matrix A.\textit{A}.

A[i][j]={1,1≤j≤i≤50,otherwiseA [i][j] = \left\{\begin{matrix} 1, & 1 \leq j \leq i \leq 5 \\ 0, & \text{otherwise}\end{matrix}\right.

A[i][j]=1A[i][j] = 1 indicates a directed edge from node ii to node j.j. A directed spanning tree\textit{directed spanning tree} of G,G, rooted at r∈V,r \in V, is defined as a subgraph TT of GG such that the undirected version of TT is a tree, and TT contains a directed path from rr to every other vertex in V.V. The number of such directed spanning trees rooted at vertex 55 is __________________.

Sign in to save attempts.

Loading…