Intuit interview question

Good array – Sub arrays with K different integers – Leetcode hard level