Skip to content

Deque interface should be used instead of Stack class in sorting a stack #193

Open
@TanyaAgarwal28

Description

@TanyaAgarwal28

Hi
Stack class is used in sorting a stack u should use Deque interface instead of it because Stack has no interface, so if you know you need Stack operations you end up committing to a specific concrete class, which isn't usually a good idea.So I had make a pull request to change it #192

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