Live Batches
Masterclasses
Menu
Free Courses
Account
Login / Sign Up
Problem Submissions Solution

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.

Topics

Companies

Articles

Examples:

N/A

Constraints:
  • 1 < n < 105
  • -109 < arr[i] < 109
Companies:
Apple Zomato Media.net
Topics:
Recursion
Locked Content
Access Restricted: Please Login to access the code editor and test cases.