Pergunta de entrevista da empresa Dell Technologies

Question regarding the circular queue