Two Pointer Technique Leetcode Problems Sqlite