Exercise idea: Team name using member letters
Imagine a team of N students, they want to choose a team name composed of their initials.
Produce a function get_team_name(names: Sequence[str], words: Sequence[str]) -> list[str]
, it take the list of student names and a list of words (from a dictionary typically. Given this, the function should find all words that can be created using the team member names.
A member name cannot be used twice.
A team name can be composed of one, or many, letters of students, but starting from the beginning of their name.