Available question text
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.
Related questions
Continue with questions that share topics or the same question type.
- Check if Bitwise OR Has Trailing Zeros
Coding
- Contains Duplicate
Coding · Array · Hash Table · Sorting
- Contains Duplicate II
Coding
- Contains Duplicate III
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1089. Duplicate Zeros
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source