Search for a tool
Minimum of a List

Tool to find the minimum value in a list of numbers, that is to say the smallest possible value approaching 0 (if the numbers are positive) or minus infinity.

Results

Minimum of a List -

Tag(s) : Data Processing

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Thanks to your feedback and relevant comments, dCode has developed the best 'Minimum of a List' tool, so feel free to write! Thank you!

Minimum of a List

List Minimum Finder

Loading...
(if this message do not disappear, try to refresh this page)

Answers to Questions (FAQ)

What is the minimum of a list? (Definition)

The minimum is the name given to the smallest value among a list of numbers (the greatest value is called the maximum).

How to calculate the minimum of a list of numbers?

To find the smallest value (the minimum) among a list of numbers, it is necessary to go through the whole list of numbers and compare their values one after the other. The minimum in the list is the smallest value found when all values have been compared.

Example: The list of 4 values: 8,2,4,6 has for minimum 2

For positive values, the minimum is the value closest to $ 0 $ and for negative values the minimum is the value that is closest to $ -\infty $ (minus infinity).

What is the algorithm of minimum calculation?

A naive algorithm for calculating a minimum of a list A of $ n $ integers is:function min(list) {
min = list[0]
for i = 1 , i < n {
if list[i] < min {
min = list[i]
}
}
return min
}

The complexity is of order $ n $, as there are $ n - 1 $ comparisons and in the worst case, $ n $ assignments (if the table is sorted by descending order) and in the best case only 1 assignment (if the minimum is the first value in the list).

Source code

dCode retains ownership of the online 'Minimum of a List' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Minimum of a List' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Minimum of a List' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Minimum of a List' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Minimum of a List' tool, so feel free to write! Thank you!


Source : https://www.dcode.fr/minimum-list
© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback