Question
Given the array [38, 27, 43, 3, 9, 82, 10], what would
be the two sorted subarrays immediately *before the final merge step* in a Merge Sort algorithm?Solution
-
The array has 7 elements
-
It is divided into:
-
Left half: [38, 27, 43, 3]
-
Right half: [9, 82, 10]
-
Each half is independently fully sorted before the final merge. Sorting the left half [38, 27, 43, 3] Sorted → [3, 27, 38, 43] Sorting the right half [9, 82, 10] Sorted → [9, 10, 82] Just before final merge The two sorted subarrays are: [3, 27, 38, 43] [9, 10, 82] These two are then merged to produce the final sorted array:
[3, 9, 10, 27, 38, 43, 82]
What is the scientific name of the new finless snake eel species discovered off the Colachel coast?Â
What is the current policy repo rate as decided by the MPC (Aug 2025)?Â
What is the primary objective of the ‘e-office platform’, recently mentioned in news?
2nd G20 Sherpa Meeting Side Event on Digital Public Infrastruture was held in which city?
What was India's industrial production (IIP) growth in April 2025, the lowest in eight months?
How much prize money did Javokhir Sindarov win after becoming the FIDE World Cup 2025 champion?Â
Which initiative was launched by NALSA in 2025 to provide legal support to armed forces personnel and their families?Â
How many children exited multidimensional poverty in India between 2015–16 and 2019–21, as per HDI 2023 data?
India has been re-elected to which part of the ICAO Council for the 2025–2028 term?Â
- What is the loan tenure under the PM Surya Ghar scheme for installing solar rooftop systems?