Problem 3190 · Easy

Find Minimum Operations to Make All Elements Divisible by Three

Each number needs one plus-or-minus-one step unless it already divides evenly by three.

Open the interactive visualisation