Number Of Substrings Containing All Three Characters Leetcode