Postgresql Split Array Leetcode Questions