Pregunta de entrevista de Zopper

Two consecutive element with sum k