AQA D1 2006 January — Question 2

Exam BoardAQA
ModuleD1 (Decision Mathematics 1)
Year2006
SessionJanuary
TopicSorting Algorithms

2 Use the quicksort algorithm to rearrange the following numbers into ascending order. Indicate clearly the pivots that you use. $$\begin{array} { l l l l l l l l } 18 & 23 & 12 & 7 & 26 & 19 & 16 & 24 \end{array}$$