From 42222089e3d5173cf8bc23e8d498e11038ef2cc6 Mon Sep 17 00:00:00 2001 From: Yavuz Sava Date: Sat, 29 Mar 2025 19:18:04 +0000 Subject: [PATCH] =?UTF-8?q?README.md=20G=C3=BCncelle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3a2f520..ab955a1 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,29 @@ Given an array of strings emails where we send one email to each emails[i], retu ## Example 1: Input: emails = ["test.email+alex@leetcode.com","test.e.mail+bob.cathy@leetcode.com","testemail+david@lee.tcode.com"] + Output: 2 + Explanation: "testemail@leetcode.com" and "testemail@lee.tcode.com" actually receive mails. ## Example 2: Input: emails = ["a@leetcode.com","b@leetcode.com","c@leetcode.com"] + Output: 3 ## Constraints: 1 <= emails.length <= 100 + 1 <= emails[i].length <= 100 + emails[i] consist of lowercase English letters, '+', '.' and '@'. + Each emails[i] contains exactly one '@' character. + All local and domain names are non-empty. + Local names do not start with a '+' character. + Domain names end with the ".com" suffix. + Domain names must contain at least one character before ".com" suffix. \ No newline at end of file