计算机科学 > 离散数学
[提交于 2002年9月10日]
标题:Sorting with a forklift
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Michael H. Albert[v1] 2002年9月10日 星期二 22:05:28 UTC