Pregunta de entrevista de GGK Tech

asked to solve leetcode questions