1358. number of substrings containing all three characters July 8, 2019 16 32 64 128 1876. substrings of size three with distinct characters