AKUNA CAPITAL interview question

Circular buffer