← Amazon questions

Generate combinations by replacing characters using HashMap

Filed under Amazon

Given a string and a hash map containing character replacements (where a character maps to a list of possible replacement strings or characters), generate all possible unique strings formed by…

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.