Arrange array in even-odd order
Filed under ADP
The question
Given an array containing an equal number of even and odd integers, rearrange the elements so they follow an alternating even-odd-even-odd pattern.
No write-up yet. Related questions below have one.
Related ADP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.