Two Pointers Question On Leetcode Interview Sheet