Pregunta de entrevista de Digitize

A simple array based leetcode-like whiteboard problem.