A storage depot consists of a 2 dimensional array of slots. Each object to be stored in the depot has a unique serial number. When an object with sequence number K arrives, it is stored according to the following pair of rules.
Problem: Given the final configuration of a depot, construct all input sequences that could have given rise to the depot.
©IARCS 2012–2016
Pěstujeme web | visit: Skluzavky