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 ...
Markdown supported · ⌘↵ to post
No responses yet.