โ† Thoughtworks questions

Remove characters from first string present in second string

Filed under Thoughtworks

The question

Given two strings, output the first string with all characters that appear anywhere in the second string removed.

No write-up yet. Related questions below have one.

Related Thoughtworks questions

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