Define algorithm. Discuss key characteristics of algorithms.
[3 marks]Arrange the following functions in increasing order of growth. 2n , n2 , 1, 0 n log n
[4 marks]Explain Worst Case, Best Case and Average Case Complexity.
[7 marks]Give the difference between Stack and Queue.
[3 marks]Write a brief note on Priority Queue.
[4 marks]Explain how to evaluate postfix expression using stack with suitable example.
[7 marks]Write algorithm to insert and delete elements in circular queue.
[7 marks]Explain the structure of Circular linked list.
[3 marks]Write user defined ‘C’ function to insert node at a specific location in singly linked list.
[4 marks]Write an algorithm of Selection Sort. Also, explain it with suitable example.
[7 marks]Compare and contrast array with linked list.
[3 marks]Write user defined ‘C’ function to delete the last node in doubly linked list.
[4 marks]Write an algorithm of Insertion Sort. Also, explain it with suitable example.
[7 marks]Define following with respect to Tree:
[3 marks]In Degree ii) Out Degree iii) Leaf
[ marks]Write a brief note on AVL Tree.
[4 marks]Create an algorithm for multiplying large Integers using divide and conquer approach.
[7 marks]Explain double hashing in brief.
[3 marks]Compare and contrast linear search with binary search.
[4 marks]Create an algorithm to find the kth minimum element in a Binary Search Tree.
[7 marks]Give the difference between BFS and DFS.
[3 marks]Explain Backtracking Method.
[4 marks]Explain activity selection problem using greedy method with suitable example.
[7 marks]Explain principle of optimality.
[3 marks]Explain Prim’s algorithm.
[4 marks]Explain knapsack problem using dynamic programming approach with suitable example.
[7 marks]