Help me to get this question's answer?? | Sololearn: Learn to code for FREE!

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

4/9/2021 7:21:27 AM

Coderninja

2 Answers

New Answer

0

https://www.google.com/amp/s/www.geeksforgeeks.org/isro-isro-cs-2007-question-55/amp/

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.