Two Pointers Question On Leetcode Interview Problems