计算机科学 > 数据结构与算法
[提交于 2012年9月17日]
标题:Improved in-place associative integer sorting
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:A novel integer sorting technique was proposed replacing bucket sort, distribution counting sort and address calculation sort family of algorithms which requires only constant amount of additional memory. The technique was inspired from one of the ordinal theories of "serial order in behavior" and explained by the analogy with the three main stages in the formation and retrieval of memory in cognitive neuroscience namely (i) practicing, (ii) storing and (iii) retrieval. In this study, the technique is improved both theoretically and practically and an algorithm is obtained which is faster than the former making it more competitive. With the improved version, n integers S[0...n-1] each in the range [0, n-1] are sorted exactly in O(n) time while the complexity of the former technique was the recursion T(n) = T(n/2) + O(n) yielding T(n) = O(n).
提交历史
来自:A. Emre Cetin[v1] 2012年9月17日 星期一 14:44:42 UTC