This question evaluates object-oriented design, API abstraction, and core data-structures competency by requiring a generic FIFO Queue interface and comparison of internal implementations, testing abstraction, modularity, and performance reasoning within Software Engineering Fundamentals.
You are asked to design an object-oriented Queue abstraction and discuss how it can be implemented internally in different ways.
Describe:
enqueue
,
dequeue
,
peek
,
isEmpty
,
size
, and possibly capacity-related methods).
enqueue
,
dequeue
,
peek
)
Optionally, also discuss how you might extend the design for:
Login required