International Journal of Science and Research (IJSR)

International Journal of Science and Research (IJSR)
Call for Papers | Fully Refereed | Open Access | Double Blind Peer Reviewed

ISSN: 2319-7064


Downloads: 4

India | Electronics Communication Engineering | Volume 10 Issue 7, July 2021 | Pages: 35 - 38


A Very Efficient Algorithm for Calculating the Max and Min from Running Data

Rushabh Sharadchandra Sankalcar

Abstract: I present an algorithm for calculating the running maximum and minimum value of a one-dimensional sequence over a sliding window. The above-mentioned algorithm stores an ordered list of data elements which may have the potential to become maxima or minima across the data window at some future time instant. This algorithm has a number of advantages over competing algorithms like reducing processing time and storage requirements for long data windows. It also finds the minimum and maximum at the same time with minimum number of comparisons. It is observed that by using this new algorithm the number of comparisons reduces drastically in finding maximum and minimum value of a one-dimensional sequence.

Keywords: Running sequence, maximum, minimum, effective algorithm, MINMAX, MAXLIST, comparisons

How to Cite?: Rushabh Sharadchandra Sankalcar, "A Very Efficient Algorithm for Calculating the Max and Min from Running Data", Volume 10 Issue 7, July 2021, International Journal of Science and Research (IJSR), Pages: 35-38, https://www.ijsr.net/getabstract.php?paperid=SR21614111450, DOI: https://dx.doi.org/10.21275/SR21614111450


Download Article PDF


Rate This Article!

Received Comments

No approved comments available.


Top