CodingMedium
Minimum sum of deleted elements
Filed under NPCI
The question
Given an array, repeatedly select the minimum number, delete it and its adjacent elements, and calculate the total sum of the deleted minimum numbers.
No write-up yet. Related questions below have one.
Related NPCI questions
Collected from public candidate posts and coding forums. Updated Nov 2026.