Count Substrings Containing All Three Letters

Company: Microsoft

Difficulty: medium