Question

Using the Lomuto partition scheme with the last element as the pivot, partition the array [8, 3, 7, 4, 9, 2, 5] . What is the final index (0-indexed) of the pivot element after the partition step completes?

A Index 2
B Index 4
C Index 3
D Index 5
E Index 6
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)