Back to course home
0% completed
Vote For New Content
ur question is wrong btw
designgurus
Feb 5, 2024
- Example 3:
- Input:
[2, 3, 5, 8]and[1, 4, 6, 7, 9] - Expected Output:
5 - Justification: The merged array would be
[10, 15, 20, 25, 30, 35, 40, 45]. The median is the average of the middle two values,25and30, which is(25 + 30) / 2 = 27.5.
- Input:
the merged array would be wat now?
1
0
Comments
Comments
A
Ameer 2 years ago
I agree this third example is incorrect unless there is something I am blatantly missing.
On this page