Top "Max" questions

Maximum value.

Python: Maximum recursion depth exceeded

I have the following recursion code, at each node I call sql query to get the nodes belong to the …

python recursion max depth tree-traversal
Taking the record with the max date

Let's assume I extract some set of data. i.e. SELECT A, date FROM table I want just the record …

oracle date max analytic-functions
How do I find the maximum of 2 numbers?

How to find the maximum of 2 numbers? value = -9999 run = problem.getscore() I need to compare the 2 values i.e …

python max
SQL: Group by minimum value in one field while selecting distinct rows

Here's what I'm trying to do. Let's say I have this table t: key_id | id | record_date | other_cols 1 | 18 | 2011…

sql group-by max distinct min
How can I find the maximum value and its index in array in MATLAB?

Suppose I have an array, a = [2 5 4 7]. What is the function returning the maximum value and its index? For example, in …

matlab max matrix-indexing
Python find min max and average of a list (array)

I am having hard time to figure out how to find min from a list for example somelist = [1,12,2,53,23,6,17] how can …

python arrays max min
Return index of greatest value in an array

I have this: var arr = [0, 21, 22, 7]; What's the best way to return the index of the highest value into another variable?

javascript arrays max
Minimum and maximum date

I was wondering which is the minimum and the maximum date allowed for a Javascript Date object. I found that …

javascript datetime max
MAX function in where clause mysql

How can I use max() function in where clause of a mysql query, I am trying: select firstName,Lastname,MAX(…

mysql sql max greatest-n-per-group
What is the maximum number of edges in a directed graph with n nodes?

What is the maximum number of edges in a directed graph with n nodes? Is there any upper bound?

algorithm math graph max