Compute peak parking lot occupancy intervals | Amazon Interview Question