Anonymous user
Sorting algorithms/Quicksort: Difference between revisions
Fixed mistake in the Ada implementaion
(Fixed mistake in the Ada implementaion) |
|||
Line 175:
exit when Left >= Right;
Swap(Item(Left), Item(Right));
if
elsif Pivot_Index = Right
Pivot_Index := Left;
end if;
end loop;
|