a) choosing a random element as pivot
b) choosing the first element as pivot
c) choosing the last element as pivot
d) median-of-three partitioning method
Which is the safest method to choose a pivot element?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which is the safest method to choose a pivot element?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!