Data Structurescseitcsmcsd Cso
Data Structurescseitcsmcsd Cso
ACE
Engineering College
(An Autonomous Institution)
ACE-R20
Question Paper Code: CS302PC
b) List out the operations that are often specified for ADTs. 2
e) State the differences between binary tree and binary search tree. 2
2. Demonstrate the implementation of a singly linked list and inspect the operations 10
performed on a singly linked list.
(OR)
3 a)Develop a program to perform the possible operations on a stack. 5
4 Insert the following elements in a Hash Table. Use linear probing technique to 10
resolve collisions, if any. Use division method with table size 10 (%10) as hash
function.27, 37, 6, 25, 14, 35, 48, 57, 76, 116.
(OR)
5. a) Illustrate the insertion , deletion and search operation on a skip list. 5
6 Create a Program to perform all the possible operations on a binary search tree. 10
(OR)
7 a) Calculate the maximum/minimum height for an AVL tree of 3 nodes, 5 nodes, 5
and 7 nodes.
b) Elaborate the implementation of a binary search tree with example. 5
8 Illustrate the approach of various methods used for the representation of a graph. 10
(OR)
9 a)Perform Heap Sort on the given list of elements: 5
34, 45, 17, 88, 80, 60, 55, 12, 10.
b) Analyze the procedure followed in sorting the elements using merge sort. 5
(OR)
11 a) Diagnose the mechanism used in Standard Tries and Suffix tries. 5
b). Examine the functionality of the Brute force algorithm with suitable example. 5