Answers for "what is time complexity of min_element()"

C++
1

what is time complexity of min_element()

So, according to the link here: 
the max_element function is O(n),\
beacuase it touches at least every bucket of array
apparently for all STL containers.
Posted by: Guest on June-05-2020

Code answers related to "what is time complexity of min_element()"

Browse Popular Code Answers by Language