A chorded cycle in a graph is a cycle in the graph with one
additional edge connecting two of the cycle vertices. Prove that
every graph with minimum degree 3 contains a chorded cycle as a
subgraph. (Hint: Consider a longest path in the graph. What does it
tell you when a vertex is the end of a longest path? )
An eulerian walk is a sequence of vertices in a graph such that
every edge is traversed exactly once. It differs from an eulerian
circuit in that the starting and ending vertex don’t have to be the
same. Prove that if a graph is connected and has at most two
vertices of odd degree, then it has an eulerian walk.
You are given an undirected graph G = ( V, E ) in which the edge
weights are highly restricted. In particular, each edge has a
positive integer weight from 1 to W, where W is a constant
(independent of the number of edges or vertices). Show that it is
possible to compute the single-source shortest paths in such a
graph in O(E+V) time.
A graph consists of nodes and edges. An edge is an (unordered)
pair of two distinct nodes in the graph. We create a new empty
graph from the class Graph. We use the add_node method to add a
single node and the add_nodes method to add multiple nodes. Nodes
are identified by unique symbols. We call add_edge with two nodes
to add an edge between a pair of nodes belonging to the graph. We
can also ask a graph for...
A graph consists of nodes and edges. An edge is an (unordered)
pair of two distinct nodes in the graph. We create a new empty
graph from the class Graph. We use the add_node method to add a
single node and the add_nodes method to add multiple nodes. Nodes
are identified by unique symbols. We call add_edge with two nodes
to add an edge between a pair of nodes belonging to the graph. We
can also ask a graph for...
Define connectivity and telecommunications network.
What are the advantages of connectivity?
Note: question is in the context of IT in the medical
field.
from a class called Healthcare and IT
Suppose G is a connected cubic graph (regular of degree 3) and e
is an edge such that G − e has two connected components G1 and
G2
(a) Explain what connected means.
(b) We say that e is a____________ of G
(c) show that G1 has an odd number of vertices.
(d) draw a connected cubic graph G with an edge e as above.
Given a connected graph G with n vertices. We say an edge of G
is a bridge if the graph becomes a disconnected graph after
removing the edge. Give an O(m + n) time algorithm that finds all
the bridges. (Partial credits will be given for a polynomial time
algorithm.) (Hint: Use DFS)
Design a linear-time algorithm which, given an undirected graph
G and a particular edge e in it, determines whether G has a cycle
containing e. Your algorithm should also return the length (number
of edges) of the shortest cycle containing e, if one exists. Just
give the algorithm, no proofs are necessary. Hint: you can use BFS
to solve this.
Given a connected graph G where edge costs are pair-wise
distinct, prove or disprove that the G has a unique MST.
Please write Pseudo-code for the algorithms.