Problem 1876 · Easy

Substrings of Size Three with Distinct Characters

Count length-three substrings with three distinct characters.

Open the interactive visualisation