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

Peak Finder #1

Open
YashJain2 opened this issue Oct 17, 2020 · 0 comments
Open

Peak Finder #1

YashJain2 opened this issue Oct 17, 2020 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@YashJain2
Copy link
Owner

YashJain2 commented Oct 17, 2020

Write a code to find a peak in a 1-D and 2-D array implementation

  1. Check the output for 1-D in : {2,5,6,5,34,11,23,0,3}
  2. Check the output for 2-D in : {2,45,0}, {1,3,9}, {78,67,10}
    Here, in an array there must be multiple peaks but the output must print the first encountered peak while iterating
@YashJain2 YashJain2 added the question Further information is requested label Oct 17, 2020
@YashJain2 YashJain2 self-assigned this Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant