Sibros interview question

Design a lock-less ring buffer