Skip to content

previous greater element #16

Description

@Cgarg9

For all elements of an array find the previous greater element. Implement using a stack. If no greater element exists then previous greater element is -1.

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions