Sorting with a forklift
<|reference_start|>Sorting with a forklift: A fork stack is a generalised stack which allows pushes and pops of several items at a time. We consider the problem of determining which input streams can be sorted using a single forkstack, or dually, which permutations of a fixed input stream can be produced using a single forkstack. An algorithm is given to solve the sorting problem and the minimal unsortable sequences are found. The results are extended to fork stacks where there are bounds on how many items can be pushed and popped at one time. In this context we also establish how to enumerate the collection of sortable sequences.<|reference_end|>
@article{albert2002sorting,
    title={Sorting with a forklift},
    author={M.H.Albert and M.D.Atkinson},
    journal={arXiv preprint arXiv:cs/0209016},
    year={2002},
    archivePrefix={arXiv},
    eprint={cs/0209016},
    primaryClass={cs.DM cs.DS math.CO}
}