practice_localMaxima/problem

5 lines
156 B
Text
Raw Permalink Normal View History

2021-02-19 00:35:53 +00:00
Write a program that finds the local maxima of a list of integers.
A local maxima in a list is a number that is greater than or equal to adjacent
numbers.