Skip to content

Peak Finder #1

@YashJain2

Description

@YashJain2

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

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions