Four color-coded parcels have filled every sorting cell. Each cell is
holding one parcel while waiting for the next cell to become empty.
Why it is stuck
A waits for B, B waits for C, C waits for D, and D waits for A.
Every destination is occupied, so no parcel can take the first step.
- P1 leaves A through the buffer.
- P4 moves D → A, freeing D.
- P3 moves C → D, freeing C.
- P2 moves B → C, freeing B.
- The wait-for chain unwinds in reverse.