Pergunta de entrevista da empresa Amazon

How we can implement a queue with one pointer?