Maximum Distinct Elements Leetcode Playground