0

Help me to get this question's answer??

Do selection sort uses Greedy approach or divide and conquer?? And why. Googling made me confused, anyone is saying this and someone that, so it might getting confused

9th Apr 2021, 7:21 AM
Coderninja
2 Answers
0
It's greedy as on each iteration we're making selection of lesser element. Can't be divide and conquer as we're not splitting the array. But constructing array in parts.
10th Apr 2021, 10:14 PM
patilkrunal
patilkrunal - avatar