Computer and Modernization ›› 2010, Vol. 1 ›› Issue (10): 47-49.doi: 10.3969/j.issn.1006-2475.2010.10.012

• 软件工程 • Previous Articles     Next Articles

A New Sorting Algorithm Based on Hash Function

WANG Qiu-fen, SHAO Yan-ling   

  1. Department of Computer Science and Technology, Nanyang Institute of Technology, Nanyang 473004, China
  • Received:2010-06-07 Revised:1900-01-01 Online:2010-10-21 Published:2010-10-21

Abstract: The paper brings forward a new sorting algorithm based on Hash function. According to the characteristic of the array subscript progressive increase, it establishes effective Hash function by grading to random distributed integers, and completes sorting by mapping repeatedly. Time and space complexity is analyzed, and algorithm’s efficiency is verified by experiments. Algorithm analysis and experimental results show that the algorithm’s time and space complexity is O(n). It improves obviously algorithm’s efficiency when the scale of the problem is large.

Key words: Hash function, sort, algorithm, complexity

CLC Number: