Question d’entretien chez MathWorks

algorithm problem with deque method