How to apply merge sort on a 2d array? We have to divide it into 4 parts and then merge using sorting rows first and then elements in the respective columns.
Elements with odd no of M X N(size of array), first part will have larger size.
How to apply merge sort on a 2d array? We have to divide it into 4 parts and then merge using sorting rows first and then elements in the respective columns.
Elements with odd no of M X N(size of array), first part will have larger size.