Problem Solving Basic Hackerrank Solutions Javascript W3schools