Empresa engajada
How will you implement sets and the intersection operation? Complexity?
Sigiloso
I suggested to implement sets using self-balanced binary trees, although I can be done (dunno if in a more efficient way) with hashmaps.
self-balanced binary trees is not a good choice as you're assuming the content of the set are comparable.
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.