SuryanandHome

88. Merge Sorted Array — merge nums2 into nums1 in-place.

Use the tabs to read the prompt, implementation, and tests separately. Syntax uses Shiki; tests can be executed on the server with node --test.

Same file as in the repo · ~20s timeout

From file header (JSDoc)

88. Merge Sorted Array — merge nums2 into nums1 in-place.
@param {number[]} nums1
@param {number} m
@param {number[]} nums2
@param {number} n
@returns {void}