Sorting Lab

Quick Sort

Partition the array around pivots to conquer subproblems. Enter a list of numbers to see how the partitions evolve.

Dataset

Separate values using commas or spaces. Duplicates are allowed.

Tip: try reversed numbers or already sorted input to compare behavior.

Step-by-step reasoning

Each entry below represents a pivot choice, partition, or swap.

  1. Run the algorithm to populate steps.