Brief Answer Questions:
[10 × 1 = 10]Define Asymptotic notations.
Draw a doubly linked list.
Define stack.
What is a priority queue?
What do you mean by tail recursion?
Define a balanced tree.
Define hashing.
What do you mean by degree of a vertex?
List any two sorting algorithms.
Why is Huffman algorithm needed?
Short Answer Questions: (Attempt any FIVE Questions)
[5 × 3 = 15]Explain Abstract Data Type.
Explain Worst-Case time complexity.
Write a function to traverse a binary tree in Preorder.
Explain different application of queue.
How binary search differs from linear search? Explain.
Explain Breadth First Traversal of a graph.
Long Answer Questions: (Attempt any THREE Questions)
[3 × 5 = 15]Write an algorithm to find the factorial of n number using recursion.
Define an AVL tree. Construct an AVL tree from the given data: 14, 16, 22, 19, 15, 12, 21.
Sort the given data using quick sort algorithm: 17, 8, 91, 10, 111.
Comprehensive Answer / Case / Situation Analysis Questions:
[2 × 10 = 20]Draw a minimum spanning tree of the below graph using Kruskal's algorithm:
Write an algorithm to perform insertion and deletion operation in a binary search tree.
Illustrate push and pop operation in stack using linked lists.