International Conference and workshop on Advanced Computing 2014 |
Foundation of Computer Science USA |
ICWAC2014 - Number 2 |
June 2014 |
Authors: Nenwani Kamlesh, Vanita Mane, Smita Bharne |
68b6e940-a488-47d6-a78a-48a9cb8d84d1 |
Nenwani Kamlesh, Vanita Mane, Smita Bharne . Adaptive Merge Sort. International Conference and workshop on Advanced Computing 2014. ICWAC2014, 2 (June 2014), 0-0.
Merge Sort is a comparison based sorting algorithm with O(n log n) computational complexity. It is not adaptive to existence of ordering among the elements. Thus, has the same computational complexity in any case. In this paper, we propose Adaptive Merge Sort algorithm which is adaptive to existence of ordering among the elements in the list. Adaptive Merge sort has the complexity of O(n) for best case instead of O(n log n). Thus improvement requires additional space of O(n). The improvement in the performance is justified with an experimental analysis of the algorithm.