Question

Which is the safest method to choose a pivot element in quick sort?

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
E None
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)