Bad Word Checker
Given an array of bad words and a user-provided string, determine if the string contains any bad words, accounting for common letter substitutions such as '0' for 'o' and '3' for 'e'.
Asked at:
Discord
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early September, 2026
Discord
Senior
Given an array of 'bad words', and another string 'from a user', determine if the user's string contains one of the bad words. Also, be able to implement 'substitutions', for certain letters, like 'o' can be '0', and 'e' and be '3'.
Hello Interview Premium
Your account is free and you can post anonymously if you choose.