Count Distinct Element Leetcode Playground