Is it true that quick sort is the fastest sorting algorithm of all the time?? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Is it true that quick sort is the fastest sorting algorithm of all the time??

8th Sep 2020, 4:15 AM
QX 99
QX 99 - avatar
2 Respuestas
+ 1
No. It can be the fastest in certain cases but merge and heat sorts are more consistent
8th Sep 2020, 4:42 AM
Bagon
Bagon - avatar
- 1
For the large set of values it may be better and fast but wrong choose of pivot will cause worst performance. See here for differences: https://www.sololearn.com/learn/774/?ref=app
8th Sep 2020, 12:45 PM
Jayakrishna 🇮🇳