โ† Amazon questions
CodingReported in a candidate post, Dec 2019

Zig-zag array arrangement

Filed under Amazon

Rearrange an array of elements into a zig-zag sequence such that a[0] < a[1] > a[2] < a[3] > a[4]...

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.