← Amazon questions

Convert Array into Zig-Zag Fashion

Filed under Amazon · Also reported at Adobe, BlueStacks, enStage, Mallow Technologies

Given an array of distinct elements, rearrange the elements in-place to form a zig-zag sequence. The converted array should be in the form a < b > c < d > e < f...

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.