Hackerearth Javascript Practice Problems