Problem Description

Task: a has size m+n, first m elements valid. b has n elements. Merge b into a in sorted order (in-place).

Input Format

Java method

Output Format

In-place update

Constraints

Use three pointers from the end.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next