For AI agents: the site's llms.txt is at /llms.txt.
Alwaldend S8 graduated square monogram
Alwaldend
Projects
Infra
Blog
Docs
Toggle theme
Light
Dark
Auto
Docs
Misc
Leetcode submissions
2025-11-29 21:07:28 +0300 MSK
2025-11-29 21:07:28 +0300 MSK
Minimum Operations to Make Array Sum Divisible by K
Tags:
Generated
Leetcode_submission
Links
https://leetcode.com/submissions/detail/1842680223/
Code
class
Solution
:
def
minOperations
(
self
,
nums
:
List
[
int
],
k
:
int
)
->
int
:
return
sum
(
nums
)
%
k