Skip to content

Flatten an array #116

@dsope05

Description

@dsope05

input: [1, 2, [2, [5, 3, 4]] ]
output: [1,2, 3, 5, 3, 4]

the output order does not matter, just so long as the array is flattened

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions