Select your answers. Once selected, you cannot change them.
You’re given a list of N
document titles. Your task is to find all the pairs of titles that share at least one common word (case-insensitive, ignoring punctuation), and return them as a list of connected pairs.
Write your solution below: