โ† Zoho questions

Position-based sorting of an array

Filed under Zoho

Sort elements at odd indices in descending order and elements at even indices in ascending 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 Zoho questions

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