Leetcode Basic Javascript Questions Hackerrank