← Amazon questions

Print characters occurring >= specified frequency sequentially

Filed under Amazon

Given a string and a threshold frequency, print the characters that appear at least that many times in the order of their first appearance.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.