← Microsoft questions
CodingReported in a candidate post, Jul 2025

Median of two sorted arrays of different sizes

Filed under Microsoft · Also reported at Synopsys

Given two sorted arrays nums1 and nums2 of sizes m and n (the sizes may differ), return the median of the two sorted arrays. The median is the middle value of the combined sorted order, or the average…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.