What types of pivots can be used for ordering arrangements using the QUICKSORT method? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What types of pivots can be used for ordering arrangements using the QUICKSORT method?

What types of pivots can be used for ordering arrangements using the QUICKSORT method?

1st Apr 2018, 12:36 AM
deibys
1 Respuesta
+ 4
You can have end pivots,starting pivots. middle pivots, and random pivots. Random pivots are mostly used because it prevents working hard with sorted arrays
1st Apr 2018, 1:02 AM
Tomer Sim
Tomer Sim - avatar