Postgresql Split Array Leetcode Problems Sql