Challenge: Maximum, Minimum Array
Let’s solve the minimum, maximum array problem.
Problem
Given a sorted array, rearrange it into the maximum-minimum form.
Input
A sorted integer array. ...
Let’s solve the minimum, maximum array problem.
Given a sorted array, rearrange it into the maximum-minimum form.
A sorted integer array. ...