Subarrays With Distinct Integers Leetcode Playground Python