Conveyor Repair Window
A warehouse conveyor line carries n crates in a row. Every crate is stamped with a numeric priority code, and a healthy line reads those codes left to right in nondecreasing order. Overnight, a jammed robotic arm grabbed one contiguous stretch of the line and shuffled the crates inside it. That stretch may have been empty or may have spanned the whole line, but every crate outside it stayed frozen in place.