Solved LeetCode program · 4 of 1,000
#0004 · Median of Two Sorted Arrays
Original English source
The first is a list of 1 and 3. The second is a list of 2. The combined is an empty list of whole numbers. For each number in first, Place number into combined. For each number in second, Place number into combined. Sort combined. The middle is the midpoint of 0 and the last position of combined. Display item middle of combined.
Expected stdout
2