Intel Corporation interview question

Implementation of a circular array.