Pregunta de entrevista de Vannevar Labs

Leetcode question to do with queue data structure