Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

An Effective Approach to Analyze Algorithms with Linear O(n) Worst-Case Asymptotic Complexity

Author 1: Qazi Haseeb Yousaf Author 2: Muhammad Arif Shah Author 3: Rashid Naseem Author 4: Karzan Wakil Author 5: Ghufran Ullah
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 10, No. 3 · Published 2019

DOI: 10.14569/IJACSA.2019.0100344

Abstract

A theoretical approach of asymptote analyzes the algorithms for approximate time complexity. The worst-case asymptotic complexity classifies an algorithm to a certain class. The asymptotic complexity for algorithms returns the degree variable of the algorithmic function while ignores the lower terms. In perspective of programming, asymptote only considers the number of iterations in a loop ignoring inside and outside statements. However, every statement must have some execution time. This paper provides an effective approach to analyze the algorithms belonging to the same class of asymptotes. The theoretical analysis of algorithmic functions shows that the difference between theoretical outputs of two algorithmic functions depends upon the difference between their coefficient of ‘n’ and the constant term. The said difference marks the point for the behavioral change of algorithms. This theoretic analysis approach is applied to algorithms with linear asymptotic complexity. Two algorithms are considered having a different number of statements outside and inside the loop. The results positively indicated the effectiveness of the proposed approach as the tables and graphs validates the results of the derived formula.

Keywords

How to Cite this Article

Yousaf, Q. H., Shah, M. A., Naseem, R., Wakil, K., & Ullah, G. (2019). An Effective Approach to Analyze Algorithms with Linear O(n) Worst-Case Asymptotic Complexity. International Journal of Advanced Computer Science and Applications, 10(3). https://doi.org/10.14569/IJACSA.2019.0100344

Yousaf, Qazi Haseeb, et al.. "An Effective Approach to Analyze Algorithms with Linear O(n) Worst-Case Asymptotic Complexity." International Journal of Advanced Computer Science and Applications, vol. 10, no. 3, 2019, https://doi.org/10.14569/IJACSA.2019.0100344.

@article{Yousaf2019,
  title     = {An Effective Approach to Analyze Algorithms with Linear O(n) Worst-Case Asymptotic Complexity},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {10},
  number    = {3},
  year      = {2019},
  publisher = {The Science and Information Organization},
  author    = {Qazi Haseeb Yousaf and Muhammad Arif Shah and Rashid Naseem and Karzan Wakil and Ghufran Ullah},
  doi       = {10.14569/IJACSA.2019.0100344},
  url       = {https://doi.org/10.14569/IJACSA.2019.0100344}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 11, November 2026
Paper Submission Due October 25, 2026
Review Notification November 15, 2026
Publication Date November 30, 2026