← ALL NOTES
Array

3190. Find Minimum Operations to Make All Elements Divisible by Three

Given an array nums. One operation increments or decrements any element by 1. Find the minimum operations to make all elements divisible by three. Each element not divisible by three needs exactly…

Loading…