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
2 Respuestas
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.