<listing id="l9bhj"><var id="l9bhj"></var></listing>
<var id="l9bhj"><strike id="l9bhj"></strike></var>
<menuitem id="l9bhj"></menuitem>
<cite id="l9bhj"><strike id="l9bhj"></strike></cite>
<cite id="l9bhj"><strike id="l9bhj"></strike></cite>
<var id="l9bhj"></var><cite id="l9bhj"><video id="l9bhj"></video></cite>
<menuitem id="l9bhj"></menuitem>
<cite id="l9bhj"><strike id="l9bhj"><listing id="l9bhj"></listing></strike></cite><cite id="l9bhj"><span id="l9bhj"><menuitem id="l9bhj"></menuitem></span></cite>
<var id="l9bhj"></var>
<var id="l9bhj"></var>
<var id="l9bhj"></var>
<var id="l9bhj"><strike id="l9bhj"></strike></var>
<ins id="l9bhj"><span id="l9bhj"></span></ins>
Volume 7 Issue 3
Oct.  2021
Turn off MathJax
Article Contents
Li Huihua. A New Efficient Algorithm For Internal Sorting[J]. Chinese Journal of Engineering, 1985, 7(3): 90-95. doi: 10.13374/j.issn1001-053x.1985.03.022
Citation: Li Huihua. A New Efficient Algorithm For Internal Sorting[J]. Chinese Journal of Engineering, 1985, 7(3): 90-95. doi: 10.13374/j.issn1001-053x.1985.03.022

A New Efficient Algorithm For Internal Sorting

doi: 10.13374/j.issn1001-053x.1985.03.022
  • Available Online: 2021-10-29
  • In this paper,a new internal sorting algorithm is presented which is especially suited for sorting record set in which the total number of key values is much smaller than that of records Viz.many records have the same value. If we assume the total number of records to be sorted is N and the total number of key values is M,the sorting efficiency-the total number of comparisons-of classical algorithms (e. g. quicksort,heapsort) is O(N·log2N), unrelated to M. Under the same assumption,the sorting efficiency of the new algorithm presented in this paper that uses one kind of queue with single pointer data structure, through two passes, is 2·N·log2M.If some conditioing are added,only one pass is needed and the efficiency is N·log2M.The moving total number of the new algorithm is N·M/4,and the extra memory space required is M,pointers and M key value locations.

     

  • loading
  • 加載中

Catalog

    通訊作者: 陳斌, bchen63@163.com
    • 1. 

      沈陽化工大學材料科學與工程學院 沈陽 110142

    1. 本站搜索
    2. 百度學術搜索
    3. 萬方數據庫搜索
    4. CNKI搜索
    Article views (255) PDF downloads(10) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return
    久色视频