Problem 3442 · Easy

Maximum Difference Between Even and Odd Frequency I

Count the letters, then subtract the smallest even count from the largest odd count.

Open the interactive visualisation