计算机科学 > 数据结构与算法
[提交于 2019年6月12日]
标题:Loop Programming Practices that Simplify Quicksort Implementations
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Quicksort algorithm with Hoare's partition scheme is traditionally implemented with nested loops. In this article, we present loop programming and refactoring techniques that lead to simplified implementation for Hoare's quicksort algorithm consisting of a single loop. We believe that the techniques are beneficial for general programming and may be used for the discovery of more novel algorithms.
提交历史
来自:Shoupu Wan[v1] 2019年6月12日 星期三 21:28:51 UTC