Empresa activa
What sorting algorithm I would use for sorting an array?
Anónimo
Depends on the size of the array. Insertion sort for small, quick sort for large
Quick sort
Also, if array is in ascending or descending order QS will be n^2. Would be better to use merge sort.
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.