โ† Spinny questions
CodingReported in a candidate post, Aug 2022

Create target array in the given order

Filed under Spinny

The question

Given two integer arrays nums and index, create a target array by repeatedly reading nums[i] and index[i] and inserting nums[i] at index index[i] in the target array until all elements are processed.

No write-up yet. Related questions below have one.

Related Spinny questions

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