Skip to content

Leetcode Array : Duplicate Zeros #18

@Suraj052

Description

@Suraj052

Given a fixed-length integer array, duplicate each occurrence of zero and then shift the remaining elements to the right.
In the output array, elements upto the original array length will be printed.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions