DATA STRUCTURE II-I R22 MID-1 (Sep-2024)
DATA STRUCTURE II-I R22 MID-1 (Sep-2024)
DATA STRUCTURE II-I R22 MID-1 (Sep-2024)
1. Define an Array. Implement the 2-Dimensional array and perform insertion operation on it.
2. Implementation of Stack using Linked list and perform insertion operation at
beginning, end and at Specified position.
3. a.Explain about Linked list. Different types of Linked lists with its logical
representation.
b. Difference between Array and Linked List.
4. Convert the infix expression to prefix expression using Stacks and without stack.
Infix: K+L-M*N+(O^P)*W/U/V*T+Q.
5. Convert the infix expression to postfix expression using Stacks and without stack.
Infix: A-B+(M^N)*(O+P)-Q/R^S*T+Z.
6. Evaluate the given Infix expression to prefix and postfix.
Infix expression: a+b*c-d/e^f value given are a=2, b=3, c=4, d=16, e=2,f=3.