Pregunta de entrevista de New Relic

Average leetcode medium level two pointer problem