Question DSA-QUE-0034
EasyStarting with an empty queue, you enqueue 10, 20 and 30 and then dequeue twice. How many elements remain?
- A.
2
- B.
1
- C.
0
- D.
3
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Queues and Deques question
Starting with an empty queue, you enqueue 10, 20 and 30 and then dequeue twice. How many elements remain?
2
1
0
3
Sign up free to see the answer and a step-by-step explanation.