CodingMedium
Minimum Erasing for Modulo Sum
Filed under Airtel
The question
Given an array of numbers and integers k and m, find the minimum number of elements to erase so that the sum of the remaining elements modulo k equals m.
No write-up yet. Related questions below have one.
Related Airtel questions
Collected from public candidate posts and coding forums. Updated Nov 2026.