Empresa engajada
Remove duplicates. I could not solve it without sorting the array first.
Sigiloso
Just use a hash table, both time and space are O(n)
It depends. If only 1 dup, you can do it by O(n) time and O(1) space by 2 runner
How about just inserting everything to a set
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.