Professional Documents
Culture Documents
Daa Assignment-2 QSN
Daa Assignment-2 QSN
TECHNOLOGY
TIRUCHIRAPPALLI TIRUCHIRAPPALLI CAMPUS
FACULTY OF ENGINEERING AND TECHNOLOGY
SCHOOL OF COMPUTING
1. For T(n)=7T(n/2)+18n2 Solve the recurrence relation and find the time complexity.
2. Explain Asymptotic notations Based on growth functions with suitable examples.
3. Consider the following values array = { 2, 1, 6, 10, 4, 1, 3, 9, 7} perform merge sort to
arrange the numbers in ascending order. Find the time complexity of the algorithm.
4. Consider the following values 54,26,93,17,77,31,44,55,20 . Perform quick sort and
write the time complexity of an algorithm.
5. Explain master’s theorem with suitable examples.
Faculty in-charge
Dr.P.Shanmuga Sundari