Frage im Vorstellungsgespräch bei Amazon

Basic data structures questions, implementation of circular queue using array.