CodingReported in a candidate post, Jul 2025
Make array unique with minimal sum
Filed under Dunzo
The question
Given an array, increment duplicate elements such that all elements are unique and the total sum of the array is minimized.
No write-up yet. Related questions below have one.
Related Dunzo questions
Collected from public candidate posts and coding forums. Updated Nov 2026.