Pergunta de entrevista da empresa Expedia Group

They described a permutation problem of sets which allow duplicates