The TransCompilator

Solved LeetCode program · 4 of 1,000

#0004 · Median of Two Sorted Arrays

Hard Array chunk-01.md

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.

Open in Playground Browse all 1,000 problems

Expected stdout

2