← Amazon questions

Rearrange array into increasing then decreasing halves

Filed under Amazon

Rearrange the elements of a given array such that the first half of the array is sorted in increasing order, and the second half is sorted in decreasing order.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.