Big O of min and max in Python
<p>What is the big O of the <code>min</code> and <code>max</code> functions in Python? Are they <code>O(n)</code> or does Python have a better way to find the minimum and maximum of an array? If they are <code>O(n)</code>, isn't it better to use a for-loop to find the desired values or do they work the same as a for-loop?</p>