Given numbers = (47, 23, 22, 95, 20, 84, 42), pivot = 95What is the low partition after the partitioning algorithm is completed?

Ex: 1, 2, 3
What is the high partition after the partitioning algorithm is completed?

1 answer

After partitioning the numbers using the pivot value of 95, the low partition will be (47, 23, 22, 20, 84, 42) and the high partition will be (95).