Two Pointers Question On Leetcode 150