Advanced Data Structure IT-411 Lab Questions
Advanced Data Structure IT-411 Lab Questions
1
basic functions of Create(), IsEmpty(), Insert(), Delete()
and IsFull() with suitable prototype to a functions
V. WAP to generate the binary tree from the given inorder and
postorder traversal.
VI. WAP to generate the binary tree from the given inorder and
preorder traversals.
Experiment 3 (Hashing)
2
where k<=n and k takes values from [1 to m], m>n. To
handle the collisions use the following collision
resolution techniques,
a. Linear probing
b. Quadratic probing
c. Random probing
d. Double
hashing/rehashing
e. Chaining
3
insertion and deletion operation.
IV. WAP to implement Postorder Threaded Binary Tree with
insertion and deletion operation.
V. WAP to traverse given Inorder Threaded Binary Tree in
inorder, preorder and postorder fashion.
VII WAP to traverse given Postorder Threaded Binary Tree in
inorder, preorder and postorder fashion.
VIII. WAP to transform BST into Threaded Binary Tree.
Experiment 6 ( B-Trees)
4
II. WAP to implement insertion, deletion, display and search
operation in m-way B tree (i.e. a non-leaf node can have
atmost m children) for the given data as strings (Test
the program for m=3, 5, 7).
III. WAP to implement insertion, deletion, display and search
operation in m-way B tree (i.e. a non-leaf node can have
atmost m children) for the given data as Student
structures(as given above), with key as student_ roll_no
. (Test the program for m=3,5,7).
IV. WAP to implement insertion, deletion, display and search
operation in m-way B tree (i.e. a non-leaf node can have
atmost m children) for the given data as Employee
structures (as given above), with key as emp_no. (Test the
program for m=3, 5, 7).
V. WAP to implement insertion, deletion, display and search
operation in m-way B tree (i.e. a non-leaf node can have
atmost m children) for the given data as Faculty
structures (as given above), with key as faculty_ID.
(Test the program for m=3, 5, 7).
5
VI. Implement the above program (III) of Fibonacci Heap for
strings.
Experiment 8 (Disjoint Sets)
Experiment 9 (Graphs
Algorithms)
6
X. WAP to find all-pairs shortest path using Johnson’s
algorithm for sparse graphs.
XI WAP to print strongly connected components in a directed
graph.
XII. WAP to find articulation points, bridges, and biconnected
components usnig depth-first search in a connected,
undirected graph.