Two Pointer Leetcode Problems Sql Compiler With Database