Leetcode Problems And Solutions Javascript