Loading Question...
You are given :
An email is classified as spam if:
For each subject, return:
Suppose subjects = ['free prize worth millions', 'ten tips for a carefree lifestyle'], and spamWords = ['free', 'money', 'win', 'millions'].
Output: ['spam', 'not_spam']
Expert in Data Structures & Algorithms. Building tools to help developers crack FAANG interviews.
Future First • Pending
ARM • Pending
ARM • Pending
Adobe • Pending
Adobe Hackthon 2026 Discussion • Pending