What types of pivots can be used for ordering arrangements using the QUICKSORT method? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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