← Zoho questions
CodingReported in a candidate post, Feb 2026

Rearrange Array with Segregated Odd and Even Sorting

Filed under Zoho

Given an array, sort even numbers in descending order and odd numbers in ascending order, while maintaining their original indices (i.e., if index i had an even number, it must remain even after…

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.