1 votes 1 votes THISCOURSEISOVER Choose the last elements as pivot elements (R). Also for duplicates, adopt the convention that both pointers stop. a) EHIOCOIERRUSSVTS b) EHISCOIERRUSOVTS b) EHIOCOUESRTSSVTR c) EHIOOCIERRUSSVTS Algorithms sorting algorithms quick-sort + – Saurabh Sharma asked Jul 22, 2015 Saurabh Sharma 1.1k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Pranay Datta 1 commented Jul 22, 2015 reply Follow Share i`m getting hicoeioerssuvrs , and "Also for duplicates, adopt the convention that both pointers stop. " its not that clear to me , r is compare to r i didnt swap it i did it like this 2 votes 2 votes Saurabh Sharma commented Jul 22, 2015 reply Follow Share this is how it has been solved but I don't know why? 0 votes 0 votes pauladesh commented Nov 4, 2019 reply Follow Share This method is incorrect. The correct answer is HICOEIOERTSUVRS from the traditional method. Regards 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes the answer is hicoeioerssuvrs prany datta is right. and saurabh sharma the question may be wrong or it must be incomplete because they may ave used some other implementation of quick sort. Tendua answered Aug 17, 2015 Tendua comment Share Follow See all 0 reply Please log in or register to add a comment.