β
Correct Answer: (A)
choosing a random element as pivot
Explanation: this is the safest method to choose the pivot element since it is very unlikely that a random pivot would consistently provide a poor partition.
Explanation by: Mr. Dubey
this is the safest method to choose the pivot element since it is very unlikely that a random pivot would consistently provide a poor partition.
Discussion
Question Analytics
956
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
90%
Success Rate