Problem Statement
How do you find the largest and smallest number in an array?
Explanation
You can use the built-in functions max and min to quickly retrieve the highest and lowest values in an array without manually looping through the data.
Code Solution
SolutionRead Only
max($arr); min($arr);
Practice Sets
This question appears in the following practice sets:
