Two Pointer Leetcode Problems Sql Compiler With Table