Squares of sorted array, max corner sum, and array reordering
Filed under Flipkart
The question
Find squares of a sorted array, maximize the sum of K corner elements, and reorder an array to given indices.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.