Data Structure and Algorithms
Data Structure and Algorithms
Section A – (5 * 2 = 10 marks)
Answer ALL the questions
1. Define Algorithm
2. Explain the usage of Stack in recursive algorithm implementation
3. Define Binary Search.
4. Explain Knapsack problem.
5. What is graph coloring? Explain with an example.
Section B - (5 * 5 = 25 marks)
Answer ANY 5 Questions
Section C – (1 * 15 = 15 marks)
Answer ANY 1 Question
12. Explain how Queue can be implemented using arrays
13. State and explain the algorithm to perform Quick sort. Analyse the time complexity of the
algorithm.
14. Discuss about the 8 queens problems with suitable example.