Oracle interview question

Circular Queue implementation