Pregunta de entrevista de Inspire11

Algorithm basic question like leetcode