C++ Solution to Coding Challenge 929. Unique Email Addresses
Basic string operations
Problem statement
Every valid email consists of a local name and a domain name, separated by the '@'
sign. Besides lowercase letters, the email may contain one or more '.'
or '+'
.
For example, in "alice@leetcode.com"
, "alice"
is the local name, and…