Data Structure and Algorithms
Data Structure and Algorithms
Assignment
(b) Explain different types of data structures along with their merits and demerits.
(c) Explain the various (different) operations performed on the stack and queues.
Q2. (a) Write the algorithm for converting infix expression to postfix expression.
(b) Differentiate between arrays and list. What are the benefits and limitations of linked lists.
1. Height of a tree
2. Depth of a tree
3. Binary tree
4. Binary Search tree
5. AVL Tree
6. B+ Trees
(b) Explain the different ways of expressing a graph . Give examples also.
(b) Write short note on Breadth First Search and (c) Topological Sort
Q5. (a) Compare linear and binary search with the help of an example.
(b) What do you mean sorting? Explain any three sorting algorithms.