Skip to content

Leetcode Array : Duplicate Zeros #18

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions