Pregunta de entrevista de HME

They gave a method and asked me to debug it on paper