中文

Sorting with a forklift

离散数学 2007-05-23 v1 数据结构与算法 组合数学

摘要

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.

关键词

引用

@article{arxiv.cs/0209016,
  title  = {Sorting with a forklift},
  author = {M. H. Albert and M. D. Atkinson},
  journal= {arXiv preprint arXiv:cs/0209016},
  year   = {2007}
}

备注

24 pages, 2 figures