Azienda coinvolta
What sorting algorithm I would use for sorting an array?
Anonimo
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.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.