Search
⌘K

Leetcode 1089. Duplicate Zeros

Modify a fixed-length array in-place by duplicating every zero and shifting subsequent elements to the right, truncating any elements that fall off the end of the array; do not return anything.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.