โ† Arcesium questions

Sort array to maximize query sums

Filed under Arcesium

Given an array of integers and a set of range sum queries (from index i to j), sort the array elements such that the total sum of all query results is maximized.

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 Arcesium questions

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