Question

Quicksort is applied to an already-sorted array of size n, always choosing the first element as the pivot. What is the time complexity of this scenario?

A O(n log n)
B O(n)
C O(log n)
D O(n²)
E O(n²)
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)