Solve those Two questions:
i)- Write an algorithm to find the longest path in a DAG, where the length of the path is measured by the number of edges that it contains. What is the asymptotic complexity of your algorithm?
ii) - Write an algorithm to find a maximum cost spanning tree, that is, the spanning tree with highest possible cost.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here