1 1 vote just tell me about the quick sort Algorithms sorting algorithms + – Prince Sindhiya 2.1k views answer comment Share Follow Print See all 11 Comments 11 11 Comments reply Show 8 previous comments Somoshree Datta 5 commented Oct 21, 2018 reply Follow flag @Minipanda Ya ans in c. But When (4)(3)(8)(5)(7)(2) are combined, won't it be combined like this: (4) and (3) are combined as (3,4) (8) and (5) are combined as (5,8) (7) and (2) are combined as (2,7) Next (3,4) and (5,8) are combined as (3,4,5,8) (2,7) stays as it is Next (3,4,5,8) and (2,7) are combined finally to give (2,3,4,5,7,8) Isn't this the way they are combined? 0 0 replyShare Deepanshu commented Oct 21, 2018 reply Follow flag for 1st option can we say that it is out of place algo ....... so directly 0 0 replyShare MiNiPanda commented Oct 21, 2018 reply Follow flag @Somoshree Datta 5 I did the division by considering lower index as 0. If you take it as 1 then it would be like : 4 3 8 5 7 2 (4 3 8) (5 7 2) ( (4 3) (8) ) ( (5 7) (2) ) ( ( (4) (3) ) (8) ) ( ( (5) (7) ) (2) ) ( ( 3 4 ) (8) ) ( (5 7 ) (2) ) (3 4 8) (2 5 7) (2 3 4 5 7 8) You can check this video from 24:40 https://www.youtube.com/watch?v=sfmaf4QpVTw 0 0 replyShare Please log in or register to add a comment.