Empresa engajada
Sort an array having N elements where every element is < N. The array has no duplicate values.
Sigiloso
Well this is a simple one where there index can be found using % N and place the value in that index to sort it.
Count sort
If every element is less than N and there are no duplicates, that means elements are between 0 and N-1 inclusive. Just store them in order.
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.