Data Structures 20CSC08-1
Data Structures 20CSC08-1
: 20CSC08
Part – B
(5Q X 9M = 45 Marks)
M CO BT
6 (a) Demonstrate different operations that can be performed on Data (5) 1 2
Structures.
(b) Show that 400n3 + 20n2 = O(n3). (4) 2 3
(OR)
7 (a) Sort the numbers given below using Radix Sort (5) 1 3
345, 654, 924, 123, 567, 472, 555, 808, 911.
(b) Write an algorithm to implement Quick Sort. (4) 1 1
8 (a) Describe Single Linked List and explain the operations that can be (5) 4 1
performed on Single Linked Lists.
(b) Justify why Doubly Linked List is more useful than a Singly Linked (4) 4 4
List.
(OR)
9 Write a program to create a Circular Linked List and perform insertion (9) 4 3
and deletion operations.
10 (a) What is a Queue? Write an algorithm to insert and delete an element in (5) 4 1
a Queue.
(b) List out the applications of Stack. (4) 6 4
(OR)
11 Write a program to implement Stack using Linked List with (9) 4 3
appropriate Abstract Data type.
Page 1 of 2
Code No.: 20CSC08
******
Page 2 of 2