What types of pivots can be used for ordering arrangements using the QUICKSORT method? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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