Finding smallest and largest no

There are 2 inbuilt functions max() and min() which can be used in finding the min and max of no. s of an array. i wanted to know that which header file includes these functions?

#include <algorithm>

BTW check this out for such queries.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.