Challenge: Filtering Corporate Email Addresses
Tarefa
Swipe to start coding
You have a list of employee email addresses, and you need to keep only the corporate emails (those ending with @company.com).
- Implement a
Predicateto filter corporate emails that end with@company.com. - Pass the correct parameters to the
filterEmailsmethod. - In the
filterEmailsmethod, iterate through all email addresses using afor-eachloop. - Apply the
Predicatein theifcondition. - Add the matching emails to the new list
result.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 5
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 2.33
Challenge: Filtering Corporate Email Addresses
Deslize para mostrar o menu
Tarefa
Swipe to start coding
You have a list of employee email addresses, and you need to keep only the corporate emails (those ending with @company.com).
- Implement a
Predicateto filter corporate emails that end with@company.com. - Pass the correct parameters to the
filterEmailsmethod. - In the
filterEmailsmethod, iterate through all email addresses using afor-eachloop. - Apply the
Predicatein theifcondition. - Add the matching emails to the new list
result.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 5
single