How do you implement queue as linked list? Explain the types of linked lists.
Compare the insertion and selection sort. Write the algorithm for any one sorting algorithm that follows divide and conquer paradigm.
Trace the binary search tree for the input {34, 78, 3, 2, 90, 45, 56, 33, 55, 7}. Find the shortest path from A to F using Dijkstra algorithm.
Attempt any Eight questions
[8x5=40]Describe about the functions used as asymptotic notation.
Convert the infix expression A * B * C + D – E to postfix using stack.
Explain any two types of queue.
What is recursion? Write the recursive algorithm to find the factorial value of any given positive integer.
Differentiate between sequential search and binary search.
What is hash collision and how do you solve it? Explain.
Why do we need data structure? How do you delete node at first and last position in circular linked list?
Define stack. Sort the data {34, 7, 12, 8, 5} using bubble sort.
Why queue is ADT? Write the Prim's algorithm to find the minimum spanning tree.