Substrings of Size Three with Distinct Characters