AI Features

Challenge: Peak Element

In this lesson, you will find the peak element in a given array. The peak element is the element that is greater than both of its neighbors.

Peak element

"A peak element in an array is ...

Ask