Javascript Leetcode Solutions