Content Safety Filter

Problem: Content Safety Filter

You are given a list of unsafe words or unsafe phrases, and a list of user messages. Each message contains:

  • username
  • text

If the text of a message contai...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: