Pergunta de entrevista da empresa Atlassian

Find overlapping lists in a list of lists(live coding)