Top "Min" questions

Minimum value.

Most efficient way to find smallest of 3 numbers Java?

I have an algorithm written in Java that I would like to make more efficient. A part that I think …

java performance algorithm min
Min/Max of dates in an array?

How can I find out the min and the max date from an array of dates? Currently, I am creating …

javascript date max min
Using std::max_element on a vector<double>

I'm trying to use std::min_element and std::max_element to return the min and max elements in a …

c++ vector max min
Find the smallest amongst 3 numbers in C++

Is there any way to make this function more elegant? I'm new to C++, I don't know if there is …

c++ max min
How to exclude 0 from MIN formula Excel

i need to know how can i exclude 0 from rows and get the MIN Value. But also i need to …

excel formula min
Min and max value of input in angular4 application

I have an angular4 application with a form. In this one I have an input to enter a percentage. So, …

angular input max min
Python max and min

I'm pretty new to Python, and what makes me mad about my problem is that I feel like it's really …

python max min
How to limit a number to be within a specified range? (Python)

I want to limit a number to be within a certain range. Currently, I am doing the following: minN = 1 maxN = 10 …

python max min
How to extract the row with min or max values?

With a dataframe like this one: ID Year Temp ph 1 P1 1996 11.3 6.80 2 P1 1996 9.7 6.90 3 P1 1997 9.8 7.10 ... 2000 P2 1997 10.5 6.90 2001 P2 1997 9.9 7.00 2002 P2 1997 10.0 6.93 if I want to …

r max min
SELECT min and max value from a part of a table in MySQL

If I want to select min and max values from a whole table I can use this: SELECT min(price) …

sql mysql max min