DSA-guide icon indicating copy to clipboard operation
DSA-guide copied to clipboard

Recursion/ Divide and Conquer- Find peak element

Open pri1311 opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. https://leetcode.com/problems/find-peak-element/ A peak element is an element that is strictly greater than its neighbors.

Given an integer array nums, find a peak element, and return its index. If the array contains multiple peaks, return the index to any of the peaks. Difficulty: medium

  • A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

  • A clear and concise description of what you want to happen.

Describe alternatives you've considered

  • A clear and concise description of any alternative solutions or features you've considered.

Additional context

  • Add any other context or screenshots about the feature request here.

pri1311 avatar Mar 16 '21 14:03 pri1311

Please assign this to me under crosswoc for C++

pri1311 avatar Mar 16 '21 14:03 pri1311

I want to solve this in python

Akash20x avatar Mar 21 '21 07:03 Akash20x

Hi @ankitapuri I would like to solve it in Java Script. Please assign it to me in Java

abhinav5481 avatar Mar 21 '21 18:03 abhinav5481