>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.
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Offline 11,807 posts
since Sep 2004