Funny Sort
Filed under Shopee
The question
Take a list of numbers and sort them such that the largest numbers in ascending order occupy the 0th, 2nd, 4th, etc., positions, while the smallest numbers in descending order occupy the 1st, 3rd, 5th, etc., positions.
No write-up yet. Related questions below have one.
Related Shopee questions
Collected from public candidate posts and coding forums. Updated Nov 2026.