Question DSA-QUE-0023
EasyAt which end of a queue are new elements added?
- A.
Either end at random
- B.
The rear (back)
- C.
Show answer and explanation
Answer: B
Elements join at the rear and leave from the front.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Queues and Deques question
At which end of a queue are new elements added?
Either end at random
The rear (back)
Answer: B
Elements join at the rear and leave from the front.
The front
The middle