Using two pointers at both ends of the sorted array 1, 2, 4, 7, 11,… | Two Pointers and Sliding Window question · AnyPrep