// Anna University, Chennai / 2023
Anna University — Algorithms (CS3401), April/May 2023
Algorithms · CS3401 · R2021 · B.E. Computer Science and Engineering · Semester 4
Files open in a new tab. Use your browser's download or save option to keep a copy.
Work through the questions
16 questions
No verified answers are available for this paper.
- 2024
- 2023
Also asked in Anna University — Algorithms (CS3401), November/December 2024 (2024).
Define time complexity of an algorithm.
No verified answer or solution is available for this question.
List the types of asymptotic notations in analysing complexity of algorithms.
No verified answer or solution is available for this question.
- 2023
- 2022
Also asked in Anna University — Data Structures (CS3301), November/December 2022 (2022).
Outline a directed graph with an example.
No verified answer or solution is available for this question.
- 2023
Also asked in Anna University — Algorithms (CS3401), November/December 2023 (2023).
What is minimum spanning tree?
No verified answer or solution is available for this question.
- 2023
- 2022
Also asked in Anna University — Data Structures (CS3301), November/December 2022 (2022).
Outline divide-and conquer algorithm design paradigm.
No verified answer or solution is available for this question.
Define a multistage graph.
No verified answer or solution is available for this question.
What is backtracking?
No verified answer or solution is available for this question.
State the travelling salesman problem.
No verified answer or solution is available for this question.
Outline the difference between a tractable problem and an intractable problem.
No verified answer or solution is available for this question.
State the bin packing problem.
No verified answer or solution is available for this question.
(a) Write an algorithm to perform linear search on an array of 'N' numbers. Illustrate the best case, average case and worst case complexity of the linear search algorithm with an example. (13) (OR) (b) What is pattern searching? Outline the steps in the Rabin-Karp algorithm for pattern searching with an example. (13)
No verified answer or solution is available for this question.
(a) Outline the breadth first search graph traversal algorithm and depth first search graph traversal algorithm with an example. (13) (OR) (b) Explain the Dijkstra's shortest path algorithm with an example. (13)
No verified answer or solution is available for this question.
(a) Outline the merge sort algorithm with an example. (13) (OR) (b) What is a Huffman tree? Outline the steps to build a Huffman tree using greedy algorithm design paradigm with an example. (13)
No verified answer or solution is available for this question.
(a) State the Hamiltonian circuit problem. Outline the steps to find the Hamiltonian circuit using backtracking algorithm design paradigm with an example. (13) (OR) (b) State the Knapsack problem. Outline how Knapsack problem can be solved using branch and bound algorithm design paradigm with an example. (13)
No verified answer or solution is available for this question.
(a) Elaborate NP-complete problem and NP-hard problem with an example. (13) (OR) (b) Outline the randomized quick sort algorithm with an example. (13)
No verified answer or solution is available for this question.
(a) Apply the insertion sort algorithm to sort the following sequence of n numbers stored in an array A. 15,9,1,22,26,19,55,43,99,2 Illustrate each step of the sorting process. (15) (OR) (b) What is dynamic programming? Explain the dynamic programming solution for matrix chain multiplication with an example. (15)
No verified answer or solution is available for this question.