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.
Press Submit to check your solution.
Back to lesson: Practice: Practice: Protocol Hardening