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

Adding Finding Peak Element Problem in DSA Folder #71

Open
codeforlifeee opened this issue Oct 12, 2024 · 1 comment
Open

Adding Finding Peak Element Problem in DSA Folder #71

codeforlifeee opened this issue Oct 12, 2024 · 1 comment

Comments

@codeforlifeee
Copy link

Problem description:
Problem Statement: Given an array of length N. Peak element is defined as the element greater than both of its neighbors. Formally, if 'arr[i]' is the peak element, 'arr[i - 1]' < 'arr[i]' and 'arr[i + 1]' < 'arr[i]'. Find the index(0-based) of a peak element in the array. If there are multiple peak numbers, return the index of any peak number.

Assign me this issue for Hactoberfest2024...

@arjuuuuunnnnn
Copy link

Hello, I request you to allow me to contribute to this repo by assigning me this issue

indrakishore added a commit that referenced this issue Oct 15, 2024
Adding Finding Peak Element Problem code in java in DSA Folder #71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants