← Back to problems
Anduril • bug hunt (not plain LC medium)
MT Rotational Queue Bugs
AeroSpace • Anduril onsite • two-pointer ring + threads
You were told to expect a standard LeetCode medium — instead: bug-hunt a “two pointer” rotational (circular) queue used from multiple threads. Spot EMPTY_FULL_AMBIGUITY, DATA_RACE, and TOCTOU.
FocusCorrectness
ShapeRing · head/tail
Bugs0/3
EMPTY_FULL_AMBIGUITY
DATA_RACE
TOCTOU
head0
tail0
size0
note—
Ready
Press Play. Walk three failure modes of a naive multithreaded two-pointer ring.