...
/Challenge: Rearrange Sorted Array in Max/Min Form
Challenge: Rearrange Sorted Array in Max/Min Form
Try to solve the Rearrange Sorted Array in Max/Min Form problem.
We'll cover the following...
Statement
We're given a sorted array, nums
, containing positive integers only. We have to rearrange the array so that when returned, the