>a. what is pivot?
A pivot is the one item that will be in sorted position after you partition the list.
>b. give the resulting list after one call to the partition procedure.
This depends on the partitioning algorithm.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401