Question d’entretien chez Amazon

How we can implement a queue with one pointer?