given an integer array of size 'n', find the maximum of the minimums of every window size in the array.
Answers
Answered by
0
Given an integer array of size n, find the maximum of the minimum's of every window size in the array. Note that window size varies from 1 to n. Example: Input: arr[] = {10, 20, 30, 50, 10, 70, 30} Output: 70, 30, 20, 10, 10, 10, 10 First element in output indicates maximum of minimums of all windows of size 1.
PLEASE MAKE ME AS A BRAINLIST ANSWER
Similar questions
Computer Science,
5 months ago
English,
5 months ago
Math,
5 months ago
Computer Science,
10 months ago
Computer Science,
10 months ago
Math,
1 year ago