Given an array of integers, an integer M, and K operations, maximize the count of elements divisible by M. Each operation allows incrementing an element by 1.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.