Convert following infix expression into postfix expression using stack. (A-B)/C*D^(E/F)^(G+H)
[7 marks]Differentiate primitive and non-primitive data structures
[3 marks]Define time complexity? Explain worst case and best case complexity with examples.
[4 marks]Create AVL tree for following Data and write pre-order traversal of the constructed tree.
[7 marks]What is Sparse matrix? Write efficient vector representation of following Sparse matrix.100
[3 marks]What is the worst case complexity of binary search? Write an algorithm for binary search.
[4 marks]Create Binary Search Tree for following Data and write pre-order traversal, in- order traversal and post-order traversal of the constructed tree.
[7 marks]Write algorithm to delete from circular queue and mention the advantage of circular queue over simple queue?
[4 marks]Write c program for bubble sort.
[3 marks]Write algorithm to insert into simple queue and mention the limitation of simple queue?
[4 marks]Find the minimum spanning tree of following graph using Kruskal’s method. OR1
[7 marks]Write c program for selection sort.
[3 marks]Find the minimum spanning tree of the following graph using prim’s method.
[7 marks]Explain DFS and BFS with appropriate example.
[7 marks]What is priority queue? Is simple queue is anyhow priority queue? Explain your answer.
[3 marks]Write Cprogram to find the Fibonacci sequence of n terms using recursion.
[4 marks]What is linked list? States the advantages of linked list over array. Also list various types of the linked list.
[3 marks]Write recursive solution for tower of Hanoi. How many moves require for transferring three discs?
[4 marks]Explain Dijkstra’s shortest path algorithm with appropriate example
[7 marks]Define following terms 1) Balance factor 2) Hash function 3) Cyclic graph
[3 marks]Sort following data using merge sort.
[4 marks]Define hash collision? Explain collision various resolution techniques.
[7 marks]Define following terms 1) Hash table 2) Graph 3) Complete binary tree
[3 marks]Sort following data using quick sort.
[4 marks]What is file? Explain various types of file organization.2
[7 marks]