mam after partition combine kaise hoga jaise kimerge sort m hota hai
Quick sort proble,m
actually there is no partitioning means we are not making two different arrays
we are keep track of two arrays
every thing happens in the same array but at different segments of array
i hope this is clear
now in merge sort we have two sorted array like
13 5 2 6 7
so we have to merge them to get new sorted array
but in quick sort all element smaller than pivot are on right side and all elements greater than pivot are on right so after sorting two halves
we have entire array as sorted automatially
i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course