Recent questions tagged graph-connectivity

3 3 votes
1 1 answer
105
105 views
Suppose we run DFS on an undirected graph, and we discover a vertex $v$ with:$\mathrm{pre}(v)=1$ and $\mathrm{post}(v)=2|V|$Then the graph must be connected.True False
0 0 votes
1 1 answer
229
229 views
For a graph $G=(V, E)$ and a subset $X \subseteq V$ of the vertices, the induced subgraph $G[X]$ is defined as $G[X]=\left(X, E^{\prime}\right)$, where $E^{\prime}=\{u v ...
0 0 votes
0 0 answers
187
187 views
For a graph $G=(V, E)$ and a subset $X \subseteq V$ of the vertices, the induced subgraph $G[X]$ is defined as $G[X]=\left(X, E^{\prime}\right)$, where $E^{\prime}=\{u v ...
1 1 vote
3 3 answers
634
634 views
0 0 votes
0 0 answers
219
219 views
what will be the answer ?
0 0 votes
0 0 answers
896
896 views
Hi everyone.I have a question for everyone as follows:Given a connected undirected graph with N vertices and N edges and an integer K.Print the number of ways to remove e...
38 38 votes
7 7 answers
24.1k
24.1k views
​​​​Let $\text{A}$ be the adjacency matrix of a simple undirected graph $\text{G}$. Suppose $\text{A}$ is its own inverse. Which one of the following statements is always...
42 42 votes
3 3 answers
18.2k
18.2k views
Let $\text{G}$ be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in $\text{G}$ has even weight. Which o...
32 32 votes
4 4 answers
22.3k
22.3k views
The number of spanning trees in a complete graph of $4$ vertices labelled $\text{A, B, C,}$ and $\text{D}$ is _________.
8 8 votes
1 1 answer
1.2k
1.2k views
A strongly connected component $(\mathrm{SCC})$ of a directed graph $\mathrm{G}=(\mathrm{V}, \mathrm{E})$ is a maximal set of vertices such that any two vertices in the s...