Data Structures and Algorithms2010
Data Structures and Algorithms2010
Reg.No. : Name:
Ml777L
Fourth Semester B.Tech.Engg.DegreeRegular/Supplement ary [Part Time Examination,July 2010 2K6 CS/IT 402zDATA STRUCTURESAND ALGORITHMS Time: 3 Hours
I. a) Write short note on Big-oh notation. b) Explain recursionwith example.
c) Write a note on doubly linked list. d) What are the advantages and disadvantages of linked lists over arrays? e) Write a short note on threadedbinary tree.
(8x5=40) 8 7
2) a) Implementordinaryqueueusing may.Check for overflow and underflow conditions. 8 b) Write an algorithm to convert an infix string into a postfix string.
7
P.T.O.
M L7771
9 6 10
5
2) a) Developa mergesort algorithmto sort a setof numbers.Discussaboutits time complexity. 10 b) Explain selectionsort algorithm. 5