Help
Input 3 numbers, instead of using swap, this calls sort using pass by refernce.
The
first and second numbers are sorted, then the second and third.
The first
and second are then sorted again.
Try to find a set of numbers where the
last swap takes place.
Click next to step through the algorithm one step at a
time.