Data Structures19 sections · 729 units
Open in CourseQuiz: Queue Basics
FIFO behavior
Check Your Understanding
In a queue, if you enqueue elements 5, 2, 8, 3 (in that order), which element will be dequeued first?
- A.5 (the first one added)
- B.3 (the last one added)
- C.8 (the largest)
- D.2 (the smallest)