Is Quick Sort a Divide & Conquer approach? [closed]
Closed . This question is opinion-based . It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . Closed 2 years ago . I consider Merge sort as divide and conquer because, Divide - Array is literally divided into sub arrays without any processing (compare/swap), and the problem sized is halved/Quartered/.... Conquer - merge() those sub arrays by processing (compare/swap) Code gives an impression that it is Divide&Conquer, if(hi <= lo) return; int mid = lo + (hi-lo)/2; //No (compare/swap) on