Pregunta de entrevista de Ericsson

Implement first in first out without using queue datastructure