What is the best-case, average-case, and worst-case time complexity analysis?
[3 marks]Explain row-major order and column-major order representation of 2-D array.ss
[4 marks]Construct a Binary Search Tree for the following data. 0 21, 51, 12, 45, 17, 71, 19, 47, 78. Write Pre-order, In-order, and Post-order traversal of constructed BST.
[7 marks]Define following terms: 0 1. Full Binary Tree 2. Complete Binary Tree 3. Skewed Binary Tree
[3 marks]Write the importance of asymptotic analysis. Is O(n log n2) faster than2 O(n2)? Justify your answer with an example.
[4 marks]Convert the following infix expression into a postfix expression using stack. (a+b)^((c*d)/(e-f))
[7 marks]Write an algorithm to convert infix expression into postfix expression.
[7 marks]Illustrate how stack is used in the recursion.
[3 marks]Describe Threaded Binary Tree with example.
[4 marks]Write a Cprogram for the following operations on a circular queue. 1. Insert 2. Delete 3. Display
[7 marks]Write a recursive solution for Tower of Hanoi problem.
[3 marks]Explain the DFS traversal of the graph with an example.
[4 marks]Write an algorithm to sort existing singly linked list in acceding order according to the information field.
[7 marks]Define the following terms: 1. Field 2. Record 3. File
[3 marks]Sort the following data using merge sort. 50, 20, 70, 05, 30, 80, 55, 25
[4 marks]Find the minimum spanning tree of the following graph using Kruskal’s algorithm.1
[7 marks]What is hashing? Write the properties of a good hash function.
[3 marks]Sort the following data using quick sort. 50, 30,80,40, 35,70, 60, 20,75
[4 marks]Find the shortest path from Ato Fusing Dijkstra’s Algorithm.
[7 marks]Compare linear search and binary search in terms of their time complexity.
[3 marks]Write a Cprogram for a bubble sort.
[4 marks]What is hash collision? Explain collision resolution techniques.
[7 marks]Does a pivot selection method affect the time complexity of quick sort? Justify your answer.
[3 marks]Write a Cprogram for a selection sort.
[4 marks]List various file organizations and explain one in detail.
[7 marks]