Stacks and Queues
4. Which of the following data structures works on the principle of 'First In, First Out' (FIFO)?
1. What are the strategies/principles used in Stacks and Queues?
2. How many pointers are used for reference in Stacks and Queues?
3. How many queues are needed to implement a stack? (Assume no other data structure like arrays or linked list is available.)