Search results for graph

60 votes
10 answers
1
How many perfect matching are there in a complete graph of $6$ vertices?$15$$24$$30$$60$
113 votes
9 answers
2
Let $G$ be a complete undirected graph on $6$ vertices. If vertices of $G$ are labeled, then the number of distinct cycles of length $4$ in $G$ is equal to$15$$30$$90$$36...
31 votes
6 answers
4
The Breadth First Search algorithm has been implemented using the queue data structure. One possible order of visiting the nodes of the following graph is:$\text{MNOPQR}$...
59 votes
7 answers
6
To implement Dijkstra’s shortest path algorithm on unweighted graphs so that it runs in linear time, the data structure to be used is:QueueStackHeapB-Tree
63 votes
11 answers
8
61 votes
5 answers
10
39 votes
9 answers
11
33 votes
14 answers
13
Let $G$ be an undirected complete graph on $n$ vertices, where $n 2$. Then, the number of different Hamiltonian cycles in $G$ is equal to$n!$$(n-1)!$$1$$\frac{(n-1)!}{2}...
33 votes
9 answers
15
65 votes
12 answers
18
In a depth-first traversal of a graph $G$ with $n$ vertices, $k$ edges are marked as tree edges. The number of connected components in $G$ is$k$$k+1$$n-k-1$$n-k$