Count With K Different Characters Leetcode