Pregunta de entrevista de Microsoft

Write get and put functions for a circular buffer.