Reduction Operations to Make the Array Elements Equal
Count the operations needed to make every value equal when the current largest value is lowered to the next smaller distinct value. The visual shows bars sorted by height with a step pointer lowering the tallest group and a running operation count.