Problem 3121 · Medium

Count the Number of Special Characters II

Count letters whose lowercase copies all appear before the first uppercase copy, and that have both cases.

Open the interactive visualisation