Pregunta de entrevista de Citadel Securities

One question tested deque data structure while the other was a simple dynamic programming implementation.