DSA - Assignment - 2
DSA - Assignment - 2
1. Define Linked List. Write down differences between Array and Linked List.
5. Explain the concept of a stack data structure. List down applications of stack.
6. Describe the operations of a stack (push, pop, peek) with algorithms and explanations
for each operation.
7. Convert below infix expression to postfix expression with the help of stack.
(i) A*(B+C)/D
(ii) ( ( A + B ) * ( C – D ) + E ) / (F + G)
(iii) A + B * C / D - E
(iv) ( A + B * ( C - D ) ) / E
NOTE: - Submit your assignment during your DATA STRUCTURE LAB SESSION only.