1 Write A Program To Find The Longest Simple Path From X To Y In A Given Weighted Gr 2538377
1. Write a program to find the longest simple path from x to y in a given weighted graph.
2. Could there be an algorithm which solves an NP-complete problem in an average time of N log N , if P ¢ NP? Explain your answer.
3. Give a nondeterministic polynomial-time algorithm for solving the partition problem.