Please for the love of god at least give me a hint

2) Let G ME) be an undirected Graph. A node cover of G is a subset U of the vertex set V such that every edge in E is incident to at least one vertex in U. A minimum node cover MNC) is one with the lowest number of vertices. For example {1,3,5,6is a node cover for the following graph, but 2,3,5} is a min node cover Consider the following Greedy algorithm for this problem: Algorithm NodeCover (V,E) Uempty While...
Exercise 5. Let G be a graph in which every vertex has degree at least m. Prove that there is a simple path (i.e. no repeated vertices) in G of length m.
Problem 1 (20 points). For each of the following statements, either give a (short) proof to show that it 1. Let G- (V,E) be a directed graph. Let s E V. During a BFS run on G starting from s, vertex vis 2. Let G-(V,E) be a directed graph. Let e (u,v) E E. During a DFS nun on G, edge e is a cross 3. Let G (V,E) be a directed graph without negative cycles. Let e e E...
Problem #1 Let a "path" on a weighted graph G = (V,E,W) be defined as a sequence of distinct vertices V-(vi,v2, ,%)-V connected by a sequence of edges {(vi, t), (Ug, ta), , (4-1,Un)) : We say that (V, E) is a path from tovn. Sketch a graph with 10 vertices and a path consisting of 5 vertices and four edges. Formulate a binary integer program that could be used to find the path of least total weight from one...
Let G be a simple graph with at least four vertices. a) Give an example to show that G can contain a closed Eulerian trail, but not a Hamiltonian cycle. b) Give an example to show that G can contain a closed Hamiltonian cycle, but not a Eulerian trail.
Problem 3 (15 points). Let G (V,E) be the following directed graph. a. 1. Draw the reverse graph G of G. 2. Run DFS on G to obtain a post number for each vertex. Assume that in the adjacency list representation of G, vertices are stored alphabetically, and in the list for each vertex, its adjacent vertices are also sorted alphabetically. In other words, the DFS algorithm needs to examine all vertices alphabetically, and when it traverses the adjacent vertices...
Question 1: Given an undirected connected graph so that every edge belongs to at least one simple cycle (a cycle is simple if be vertex appears more than once). Show that we can give a direction to every edge so that the graph will be strongly connected. Question 2: Given a graph G(V, E) a set I is an independent set if for every uv el, u #v, uv & E. A Matching is a collection of edges {ei} so...
Let G be a simple graph with 2n, n 2 vertices. Suppose there are at least n2 1 edges. Show that at least one triangle is formed. Hint: Check n 2 first and then use induction
Let G be a simple graph with 2n, n 2 vertices. Suppose there are at least n2 1 edges. Show that at least one triangle is formed. Hint: Check n 2 first and then use induction
Problem 1: Dynamic Programming in DAG Let G(V,E), |V| = n, be a directed acyclic graph presented in adjacency list representation, where the vertices are labelled with numbers in the set {1, . . . , n}, and where (i, j) is and edge inplies i < j. Suppose also that each vertex has a positive value vi, 1 ≤ i ≤ n. Define the value of a path as the sum of the values of the vertices belonging to...
need help with a and b in this graph theory question
Let n >k> 1 with n even and k odd. Make a k-regular graph G by putting n vertices in a circle and connecting each vertex to the exact a) Show that for all u,v there are k internally disjoint u, v-paths (you (b) Use the previous part, even if you did not prove it, to show that the e vertex and the k 1 closest vertices on either...