A solution to last week’s challenge can be found here.
This challenge comes to us from @ram_neel - thank you for your contribution!
The input file has names of users connected by commas in a single field with random numbers to each name . Some of the names start with a lower case and some have middle name to them. [ names generated using a random name generator website ]
Create a set of email IDs (using @testemail.com as the domain) using a combination of first letter of the first name + last name of the user [even if they have a middle name ] and grouped into A-Z categories. Provide a count of the number of emails in each group.
Hint - In your output exclude any users without a valid name ( i.e, does not contain a number)