Pregunta de entrevista de Jarvis Consulting Group

Solve the Leet Code problem