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

Leaders in an Array (Data Structure Problem) #3321

Open
1 of 4 tasks
kanikarajpal opened this issue Oct 12, 2022 · 2 comments
Open
1 of 4 tasks

Leaders in an Array (Data Structure Problem) #3321

kanikarajpal opened this issue Oct 12, 2022 · 2 comments

Comments

@kanikarajpal
Copy link

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details:
I would like to add an Algorithm- Leaders in an Array (Geeks for Geeks Problem).

Description -
Given an array A of positive integers. Your task is to find the leaders in the array. An element of array is leader if it is greater than or equal to all the elements to its right side. The rightmost element is always a leader.

Link -
https://practice.geeksforgeeks.org/problems/leaders-in-an-array-1587115620/0

@UTKARSHMOHAN2003
Copy link

PLEASE ASSIGN ME THIS PROBLEM I HAVE COORECT SOLUTION

@Sudhanshu-shekharPandey
Copy link
Contributor

I have created a new code for Leaders in an Array with correct methodology

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants