QUESTION IMAGE
Question
true or false: mergesort divides a given array into equal halves, which are then divided again until the subarrays are of size one and sorted. true false
Brief Explanations
Merge sort is a divide - and - conquer algorithm. It divides the input array into two halves, recursively sorts each half, and then merges the sorted halves. The process of dividing continues until the sub - arrays are of size one (base case for the recursion).
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
True