Differentiate Stack and Queue by working principle, pointers, and structure.
[3 marks]Explain Bubble sort with an example.
[4 marks]Explain all asymptotic notations used in algorithm analysis.
[7 marks]03 What will be the updated AVL tree after the insertion of 70?
[ marks]Explain the Breadth First Search (BFS) traversal method with an example.
[4 marks]Write a program to perform insert and delete operations in a doubly linked list.
[7 marks]Convert the following infix expression into a postfix operation. Infix expression: ( A + B * ( C - D ) ) / E
[7 marks]Explain in brief: Recurrence Relations with example.
[3 marks]Discuss the advantages and disadvantages of a linked list over an array.
[4 marks]Briefly explain multiplying large integer problem with a suitable example.
[7 marks]Why do we need to solve the recurrence relation?
[3 marks]Apply a quick sort algorithm to sort the following data. Justify the steps. 42,29,74,11,65,58
[4 marks]Explain the backtracking concept and apply the same to the 8-queen problem.1
[7 marks]What is the Principle of Optimality? Explain its use in Dynamic Programming Method.
[3 marks]Explain the preorder traversal techniques of the binary tree with a suitable example.
[4 marks]Explain the concept of a circular queue. Compare circular queue with a simple queue.
[7 marks]List out the general characteristics of Greedy Algorithms.
[3 marks]Define the following terminologies with respect to tree:
[4 marks]Degree of a node
[ marks]Level of a tree
[ marks]Height of the node
[ marks]Define spanning tree and MST. How Krushkal’s algorithm is different from Prim’s algorithm.
[3 marks]Describe the Depth-First-Search (DFS) algorithm briefly using an appropriate example.
[4 marks]Create a binary search tree for the following data: 50, 25, 75, 22, 40, 60, 80, 90, 15, 30. And then, write c function to find the minimum node in the above created tree.
[7 marks]How to solve knapsack problem using dynamic programming?
[3 marks]Consider the following undirected weighted graph. Find minimum spanning tree for the same using Kruskal’s algorithm.
[4 marks]Solve Making change problem using dynamic technique. D1=1, d2=3, d3=5, d4=6. Calculate for making change of Rs. 8.
[7 marks]Depth of the node
[ marks]Differentiate separate chaining and open addressing with examples.
[7 marks]