Two Pointers Question On Leetcode Problems Sql Developer