132. Circular Buffer Indexing

Loading...

Loading...

Input

3 5 4 10

Expected Output

Head: 5 Head: 1 Head: 3