Problem 1876 · Easy
Count length-three substrings with three distinct characters.
Open the interactive visualisation