Study All Questions Fully. Dont Leave Choice
Study All Questions Fully. Dont Leave Choice
OR
B Find all the solution to the travelling salesman problem (cities and
distances shown below) by exhaustive search. Give the optimal.
13 a Write the Huffman's Algorithm. Construct the Huffman's tree for the
following data and obtain its Huffman's Code.
OR
13 b Explain the memory function method for the knapsack problem and
give the algorithm.
14 a Describe in detail the simplex algorithm methods.
OR
14 b Outline the stable marriage problem with an example.
13.a Explain the Dijkstra’s shortest path algorithm and its efficiency.
OR
13.
Write the Huffman code algorithm and derive its time complexity.
b
14.a List the steps in Simplex Method and give the efficiency of the same.
OR
14. What is stable marriage problem? Give the algorithm and analyze it.
b
15.a Discuss the approximation algorithm for NP-hard problems
OR
15. What is Hamiltonian problem? Explain with an example using
b backtracking.