Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

ring buffer

A fixed-size buffer whose end wraps around to its start, used as a queue.

A ring buffer stores items in a fixed array with a head (next write) and a tail (next read) index that wrap back to zero at the end. It gives a queue with no allocation and constant-time operations.

Read the full section →