JavaScript Solution - LeetCode Discuss

JavaScript Solution - LeetCode Discuss