Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Find Peak Element
Bookmark
Input
Example 1
Example 2
Ascending
Descending
Single element
Custom
nums
=
[1, 2, 3, 1]
0
1
1
2
2
3
3
1
algo
master
.
io
Step:
Start: Find a peak element in the array
0 / 8
Input
Example 1
Example 2
Ascending
Descending
Single element
Custom
nums
=
[1, 2, 3, 1]
0 / 8
0
1
1
2
2
3
3
1
algo
master
.
io
Step:
Start: Find a peak element in the array