Comments

Can someone please explain C. for finding the number of operations we will subtract the length of the largest prefix of equal values of the subset from its length.

Didn't understand this.