Leetcode 3659. Partition Array Into K-Distinct Groups | Hello Interview