1 votes 1 votes Consider the following sequence of letters (Assume always select last element as pivot and array index starts with 0) Q, U, I, C, K, S, O, R, T, E, X, A, M, P, L, E What is the position of pivot element after completion of first pass? Algorithms algorithms quick-sort numerical-answers + – Rohan Mundhey asked Nov 9, 2016 • retagged Jun 23, 2022 by Lakshman Bhaiya Rohan Mundhey 634 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes No need of applying quick sort here : Q, U, I, (C), K, S, O, R, T, (E), X, (A), M, P, L, E After 1st pass E is is come at its correct place : ACEE 4rth possition or 3rd index. Prashant. answered Nov 9, 2016 • selected Nov 9, 2016 by Rohan Mundhey Prashant. comment Share Follow See all 0 reply Please log in or register to add a comment.