**New course!**Every coder should learn

**Generative AI!**

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?

3 Answers

0

Place the numbers on the oppisite side ?

0

How to perform the swap and how to compare the value? Like step by step

0

Place a NOT in front of the logical expression that compares elements.