Two Pointer Technique Leetcode Problems For Sql Command