0 0 votes Consider all the elements of an array is same and choosing pivot such a way that divides array into two equal parts. Then will it behave like QuickSort best case or worst case? Algorithms divide-and-conquer + – BHOJARAM 1.1k views answer comment Share Follow Print See all 6 Comments 6 6 Comments reply Show 3 previous comments AngshukN commented Dec 17, 2021 reply Follow flag How can you divide the array into two equal parts since the pivot itself is same as the rest of the elements 0 0 replyShare anon1 commented Dec 17, 2021 reply Follow flag It is given in the question. 0 0 replyShare palashbehra5 commented Dec 24, 2021 reply Follow flag Or you can just pick the midpoint every time. Given that all elements are the same. 0 0 replyShare Please log in or register to add a comment.