hackerrank javascript questions and answers