Leetcode Basic Javascript Questions Hackerrank Python Problem