1 1 vote 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 890 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 2 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 0 reply Please log in or register to add a comment.