Empresa activa
Remove duplicates. I could not solve it without sorting the array first.
Anónimo
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
Sigue a tus empresas favoritas para estar al tanto de las últimas oportunidades y disponer de información de primera mano.
Recibe recomendaciones y actualizaciones personalizadas al iniciar tu búsqueda.