Pregunta de entrevista de Numerator

Stacks leetcode question, infrastructure design