Pergunta de entrevista da empresa Google

Asked a question about set theory. Be able to efficiently compute union, intersection, etc.