Skip to content

remove_duplicates.cc issue initializing vector #22

Description

@mgkosten

Not compiling because vector is not being initialized correctly. in vector arr = {1, 2, 2, 3, 4, 4, 5}

run in terminal, make remove_duplicates. Error will show there.

Expected Behavior: Should go through the vector and remove duplicates. It will return new array without duplicates.

Actual Behavior: Tried to run it and it would not compile. There was an issue initializing the array being created.

Operating System: pc
Browser: clion
Version: idk
Any other relevant information
Possible Solution: Review how array initialized, and possibly look at how loop through to find duplicates.

Priority: Medium

Reproducibility How often can this issue/bug be reproduced? Always
Impact High

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions