Sql 50 Leetcode Problems Javascript Array