


In the event of a tie, the code who's least common character has the highest number of occurrences wins. ScoringĬode Golf here, solution with fewest bytes wins. You may choose whether or not to include the original input address in the output. This can mean printing them to stdout, writing to a file, returning them in a container, returning a iterator, etc. You may assume the input will not already include any dots.įor more details on gmail ID requirements: OutputĪll of the dot-aliases, in any order, with no duplicates. The maximum length of a Gmail ID (the part before the is 30 characters (not including dots). You may choose whether or not the part is included in the input.

Write a program to generate all possible dot-aliases of a given Gmail address. We will refer to gmail address aliases created in this way as dot-aliases. This is a great way to have multiple different emails addresses for things like signing up for free trails, or filtering mail from different website. Email sent to and all end up in the same place! You may be aware that periods in between letters in gmail addresses are ignored.
