README.md Güncelle

This commit is contained in:
Yavuz Sava 2025-03-29 19:18:04 +00:00
parent ea685ae79d
commit 42222089e3

View File

@ -16,19 +16,29 @@ Given an array of strings emails where we send one email to each emails[i], retu
## Example 1: ## Example 1:
Input: emails = ["test.email+alex@leetcode.com","test.e.mail+bob.cathy@leetcode.com","testemail+david@lee.tcode.com"] Input: emails = ["test.email+alex@leetcode.com","test.e.mail+bob.cathy@leetcode.com","testemail+david@lee.tcode.com"]
Output: 2 Output: 2
Explanation: "testemail@leetcode.com" and "testemail@lee.tcode.com" actually receive mails. Explanation: "testemail@leetcode.com" and "testemail@lee.tcode.com" actually receive mails.
## Example 2: ## Example 2:
Input: emails = ["a@leetcode.com","b@leetcode.com","c@leetcode.com"] Input: emails = ["a@leetcode.com","b@leetcode.com","c@leetcode.com"]
Output: 3 Output: 3
## Constraints: ## Constraints:
1 <= emails.length <= 100 1 <= emails.length <= 100
1 <= emails[i].length <= 100 1 <= emails[i].length <= 100
emails[i] consist of lowercase English letters, '+', '.' and '@'. emails[i] consist of lowercase English letters, '+', '.' and '@'.
Each emails[i] contains exactly one '@' character. Each emails[i] contains exactly one '@' character.
All local and domain names are non-empty. All local and domain names are non-empty.
Local names do not start with a '+' character. Local names do not start with a '+' character.
Domain names end with the ".com" suffix. Domain names end with the ".com" suffix.
Domain names must contain at least one character before ".com" suffix. Domain names must contain at least one character before ".com" suffix.