Pregunta de entrevista de Intel Corporation

Walk through the solution to a LeetCode-type question