Javascript Questions On Leetcode Solutions Cpp