Preprocessing: A method For Reducing Time Complexity

Authors

  • Abbas Mubarak Department of Computer Science, Institute of Southern Punjab, Multan, Pakistan.
  • Sajid Iqbal Department of Computer Science, Bahauddin Zakariya University, Multan, 60800, Pakistan.
  • Qaisar Rasool Department of Computer Science, Bahauddin Zakariya University, Multan, 60800, Pakistan.
  • Nabeel Asghar Department of Computer Science, Bahauddin Zakariya University, Multan, 60800, Pakistan.
  • Neetu Faujdar Department of Computer Science, GLA University, Mathura, India.
  • Abdul Rauf Department of Computer Science, Bahauddin Zakariya University, Multan, 60800, Pakistan.

DOI:

https://doi.org/10.56979/401/2022/55

Keywords:

Sorting Algorithm, Insertion Sort, Quick Sort, Efficient Sorting

Abstract

Data can be processed quickly if it is in some order, whereas unsequenced data can take more time to obtain results. Sorting is used for data arrangement. It is also one of the essential requirement for most applications and this step helps to boost performance. Sorting is also a prerequisite in several computer applications like databases. Over time computer scientists have not only introduced new sorting techniques considering various factors to be improved but they have also presented enhanced variants of existing sorting methods. The main objective has always been to reduce the execution time and space of the sorting algorithms. With every passing day, digital content is growing rapidly, which is a significant cause that encourages researchers to design new time-space efficient sorting algorithms. This paper presents some preprocessing strategies for quicksort and insertion sort to improve their performances. Tha main idea of using these preprocessings is to make input data more suitable for sorting algorithm, as most sorting function performs extraordinary for a specific type of input, such as insertion sort works better on nearyly sorted data. To authenticate the efficiency of existing sorting algorithms, these have been compared with proposed preprocessing strategies. The results with proposed techniqes outperforms the results of original sorting methods. It also helps to convert worst case into average case. By using this approch complexity of many algorithms can be reduced, therfore this is very important.

Downloads

Published

2022-12-29

How to Cite

Abbas Mubarak, Sajid Iqbal, Qaisar Rasool, Nabeel Asghar, Neetu Faujdar, & Abdul Rauf. (2022). Preprocessing: A method For Reducing Time Complexity. Journal of Computing & Biomedical Informatics, 4(01), 104–117. https://doi.org/10.56979/401/2022/55