New Relic Interview Question

Average leetcode medium level two pointer problem