0

Quick sort in descending order

I understand we can do the quick sort to sort the number in ascending order using PIVOT theory, but how do i modify (THEORY) to sort the number in descending order?

5th Mar 2022, 3:37 AM
Jacky
3 Answers
0
Place the numbers on the oppisite side ?
5th Mar 2022, 5:53 AM
Raul Ramirez
Raul Ramirez - avatar
0
How to perform the swap and how to compare the value? Like step by step
5th Mar 2022, 6:09 AM
Jacky
0
Place a NOT in front of the logical expression that compares elements.
5th Mar 2022, 8:40 AM
Brian
Brian - avatar