Skip to content

algorithms_and_data_structures/stack_problems/ #187

Open
@madhvi02

Description

@madhvi02

HEY
I would like to add one question which seems to be important from my point of view:
Ques: Next largest element to the left of an element. If there is no largest element then return -1 for that element.
Eg: 1 2 6 5 4
output: -1 -1 -1 6 5
I would like to code it in C++.
Please allow me to work on this issue @mandliya

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