Minimum Length of String After Operations
Each letter can be reduced to one copy if its count is odd and to two if it is even, so the total follows from the counts alone.
Each letter can be reduced to one copy if its count is odd and to two if it is even, so the total follows from the counts alone.