Empleador activo
Sort an array having N elements where every element is < N. The array has no duplicate values.
Anónimo
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.
Sigue a tus empresas favoritas para estar al tanto de las últimas oportunidades y disponer de información desde adentro.
Recibe recomendaciones y actualizaciones personalizadas al iniciar tu búsqueda.