Find Maximum / Minimum in Array
Difficulty: Easy
Acceptance: 75.00%
Points: 20.00
You are given an array of integers. Your task is to find and return the maximum and minimum elements present in the array.
Constraints: - 1 < n < 105
- -109 < arr[i] < 109
Companies: Apple Zomato Media.net
Please log in to access the Submissions tab, where you can review your progress and explore code submissions from other participants.
Please log in to access the Solution tab and view detailed answers and explanations.
Please log in to access the Discussion tab and join conversations with other participants.