Pregunta de entrevista de Amazon

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