1358. Number of Substrings Containing All Three Characters - Explanation

Problem Link