GATEverse
← GATE CSE 2026 Set 2

Q22

NAT1 mark

Consider an array A=[10,7,8,19,41,35,25,31]A=[10,7,8,19,41,35,25,31]. Suppose the merge sort algorithm is executed on array AA to sort it in increasing order. The merge sort algorithm will carry out a total of 77 merge operations. A merge operation on sorted left array LL and sorted right array RR is said to be void if the output of the merge operation is the elements of array LL followed by the elements of array RR. The number of void merge operations among these 77 merge operations is ____\_\_\_\_. (answer in integer)

Sign in to save attempts.

Loading…