Consider the following statements related to stacks and queues and choose the option that correctly identifies their validity.
- In a stack, the operation to remove an item is called "enqueue," while in a queue, it is called "dequeue."
- A queue follows the FIFO (First In, First Out) principle, allowing elements to be added at one end and removed from the other.
- The "push" operation is utilized in both stacks and queues for adding elements.
1
Only 1 and 2 are correct.
2
Only 2 and 3 are correct.
3
Only 2 is correct.
4
None of the statements are correct.
5
Question Not Attempted