Design Leetcode Problems Sqlite Db Check