Available question text
Given two string arrays, message and bannedWords, determine whether message contains at least two words that exactly match any word in bannedWords (return true if two or more matches, otherwise false). Arrays can be large (up to 1e5), so the core challenge is counting exact matches efficiently (e.g., via hash lookups).
Related questions
Continue with questions that share topics or the same question type.
- Aggregate Recent Message Events And Active Chats
Coding · Data Structure Design
- All People Report to the Given Manager
Coding
- Decode the Message
Coding
- Minimum Days to Transmit Message in a Grid
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3295. Report Spam Message
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source