Question

Please briefly describe why the idea of Mergesort is “divide-and-conquer”.

Please briefly describe why the idea of Mergesort is “divide-and-conquer”.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Merge sort is a type of method that is depending upon the divide and conquer approach where the concept of splitting a lists as many sublists having a one element and merge them employing the merge( ) the sublists in a way outputs as a sorted list.It is a famous sorting approach ,a huge manner for evolve the belief in constructing recursive approaches, So duration taken for this sort is not so much.Divide-and -conquer contains three phases as below.

Divide - split into several little sublists.

conquer - Recursively sort the every two sublists  nearly n/2 lists ,consuming few amount of duration.

combine - unite the solutions of sublists for detecting the solution of real lists.

Add a comment
Know the answer?
Add Answer to:
Please briefly describe why the idea of Mergesort is “divide-and-conquer”.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT