In a queue, the ___________ operation adds an element to the rear.
- Enqueue
- Dequeue
- Push
- Pop
The correct option is 'Enqueue.' In a queue, the Enqueue operation adds an element to the rear, following the FIFO (First-In-First-Out) principle where the element added first is removed first.
Loading...
Related Quiz
- ___________ is a popular React feature that enables seamless integration with existing JavaScript codebases.
- An effective debugging technique involves ___________ the code to understand its execution flow.
- Explain the concept of polymorphism in OOP with an example.
- How does the Decorator design pattern differ from inheritance?
- You're tasked with optimizing a database query that is running slow. What steps would you take to identify and resolve the performance bottleneck?