Leetcode 3662. Filter Characters by Frequency | Hello Interview