Filter Unsafe Words From User Messages
You are given two inputs:
messages: an array where each element is a dictionary/Map containing exactly one key-value pair:- key: a
username(string) - value: a message
text(string, m...
- key: a
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:
