Design and Analysis of Algorithms
Assignment (1)
Date : 12/7/2025
Note:
• Support your answers with explanations, pseudocode, or examples where applicable.
• Submit your answers in a typed document (PDF or Word).
• Deadline: 19/7/2025
• Total Marks: 20 (5 marks per question)
1. Explain the significance of asymptotic notation in algorithm analysis. Discuss Big-O, Big-
Ω, and Big-Θ notations and explain their use in evaluating algorithm performance. Provide
one example algorithm and analyze its time complexity using Big-O.
2. Describe the brute force approach to solving problems. Then, write the brute force solution
for the travelling salesman problem, and analyze its time complexity.
3. Describe the Divide and Conquer paradigm and explain how it is used in the Merge Sort
algorithm. Provide the recurrence relation for Merge Sort and solve it to find the time
complexity.
4. Explain the Decrease and Conquer strategy. Illustrate your explanation by applying it to
compute the factorial of a number using recursion. What is the time complexity?