Arrange array in alternating order a<b >c <d >e
Filed under Paytm
The question
Given an array, rearrange its elements in the form a < b > c < d > e < f > g and so on.
No write-up yet. Related questions below have one.
Related Paytm questions
Collected from public candidate posts and coding forums. Updated Nov 2026.