← Samsung questions

Sort even/odd numbers

Filed under Samsung

The question

Sort an array such that even numbers are in ascending order and odd numbers are in descending order.

No write-up yet. Related questions below have one.

Related Samsung questions

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