Find the maximum and minimum element in an array - 450DSA Cracker Solution
Find minimum and maximum element in an array
Given an array A of size N of integers. Your task is to find the minimum and maximum elements in the array.
Example 1:
Input:
N = 6
A[] = {3, 2, 1, 56, 10000, 167}
Output: 1 10000
Explanation: minimum and ...
keycomputereducation.hashnode.dev1 min read