What is binary search tree? Explain with an example. Write an algorithm to search, insert and delete node in binary search tree.
What is Postfix expression? Write an algorithm to evaluate value of postfix expression. Trace the following expression into postfix expression. (A+B*C) D E/ F) + −
What is circular queue? Write an algorithm and C function to implement Circular queue.
Attempt any eight questions: (8 x 5 = 40)
What is Recursion? Write a recursive algorithm to implement binary search.
Differentiate between array and pointer with example.
What is an algorithm? Write down the features of an algorithm.
How stack as ADT? Explain with example.
Write an algorithm and C function to delete node in singly link list.
Write an algorithm and C function for merge sort.
What do you mean by graph traversal? Explain primes algorithm with example.
Differentiate between selection sort and bubble sort.