Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

previous greater element #16

Open
Cgarg9 opened this issue Feb 7, 2024 · 4 comments
Open

previous greater element #16

Cgarg9 opened this issue Feb 7, 2024 · 4 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@Cgarg9
Copy link
Owner

Cgarg9 commented Feb 7, 2024

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.

@Cgarg9 Cgarg9 added the good first issue Good for newcomers label Feb 7, 2024
@danieldsouza13
Copy link

Hi I'd like to work on this, can you please assign this to be as a first time contributor

@danieldsouza13
Copy link

Is this completed?

@Cgarg9
Copy link
Owner Author

Cgarg9 commented Feb 11, 2024

@danieldsouza13 assigned

@Cgarg9 Cgarg9 changed the title next greater element previous greater element Feb 11, 2024
@AmethystMac
Copy link
Contributor

Hey, can I take this one if it's not done already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants