Duplicate Element In Array Leetcode Problems Sqlite