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
4/9/2021 7:21:27 AM
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.
Send us a message