Leetcode 1876. Substrings of Size Three with Distinct Characters | Hello Interview