Hackerearth Java Practice Problems