Skip to main content

Practice · 2 of 2

Bounded Queue, Drop-Oldest

CHALLENGE
Difficulty: advanced+25 XP

Implement BoundedQueue with drop-oldest policy: full push drops the oldest (counted in dropped()), pop is optional, and the counters stay exact under interleavings.

Back to lesson: Practice: Practice: Protocol Hardening