info@avatto.com
+91-9920808017
0. Let G = (V, E) be a direction graph with n vertices. A path from vi to v in G is sequence of vertices (vi, 1, ..., such that (vk, vki)E E for all k in i through j — 1. A simple path is a path in which no vertex appears more than once. Let A be an n x n array initialized as follow: Consider the following algorithm for i = 1 to n for j = 1 to n for k = 1 to n A [j, k] = max (AU, k], (A[j, i] + A[i, k])); Which of the following statements is necessarily true for all j and k after terminal of the above algorithm?
A[j, k] ≤ n
If A [j, j] ≥ n – 1, then G has a Hamiltonian cycle
If there exists a path from j to k, AU, k] contains the longest path lengths from j to k
If there exists a path from j to k, every simple path from j to k contain most AU, k] edges
You must be logged in to post a comment.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.