Available question text
Given a string and a frequency criterion, return only the characters that meet that frequency condition (e.g., appear exactly/at least/within k times) as specified by the problem. This is solved by counting character frequencies with a hash map and then filtering the string (or set of characters) based on those counts in a single pass.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3662. Filter Characters by Frequency
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source