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