Pregunta de entrevista de Kinetic Automation

Leetcode coding test was the second round