Smart Interview Basic Hackerrank Javascript Solutions Answers