Problem 2033 · Medium

Minimum Operations to Make a Uni-Value Grid

Make every grid value equal with the fewest additions or subtractions of x.

Open the interactive visualisation