Subarray Distinct Values Cses Codeforces Solutions In Python