Pregunta de entrevista de Amazon

How we can implement a queue with one pointer?