Quick Sort
5 1 3 8 7 4 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
5 1 3 8 7 4 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 8 7 4 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 8 7 4 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 8 7 4 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 8 7 4 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 8 7 4 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 4 7 8 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 4 7 8 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 4 7 8 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 4 7 8 6 2
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 4 2 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
5 1 3 4 2 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
2 1 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
2 1 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
2 1 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
2 1 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
2 1 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
2 1 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
1 2 3 4 5 8 6 7
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
1 2 3 4 5 7 6 8
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
1 2 3 4 5 7 6 8
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 7 6 8
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 7 6 8
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
First
Unknown
Quick Sort
1 2 3 4 5 7 6 8
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
1 2 3 4 5 6 7 8
Elements < pivot Elements > pivot
Data Movement
Sorted
Pivot
Quick Sort
1 2 3 4 5 6 7 8
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 6 7 8
Elements < pivot Elements > pivot
Data Movement
Sorted
Quick Sort
1 2 3 4 5 6 7 8
Elements < pivot Elements > pivot
Data Movement
Sorted
DONE!