Skip to content

Commit 6d6632e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cbcf260 commit 6d6632e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

data_structures/arrays/peak_mountain_array.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Description: Finds the peak index in a mountain array using binary search.
55
"""
66

7+
78
def peak_mountain(arr):
89
start, end = 0, len(arr) - 1
910

0 commit comments

Comments
 (0)