Substring With K Distinct Characters Leetcode