Two Pointers Question On Leetcode Problems Easy