← ALL NOTES
Array

3512. Minimum Operations to Make Array Sum Divisible by K

Given an array nums and a number k. Per operation, you may decrease any element by 1. Find the minimum operations to make the array sum divisible by k.

Loading…