Skip to content

Commit d991902

Browse files
Update _08_Find_Peak_Element_in_Mountain_Array.java
1 parent bb687f3 commit d991902

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_21_Data_Structure_Problems/_04_Searching_Problems/Binary_Search/_08_Find_Peak_Element_in_Mountain_Array.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
package com.Searching_Problems.Binary_Search;
21
/*
32
Let's call an array arr a mountain if the following properties hold:
43
arr.length >= 3
@@ -39,4 +38,4 @@ static int peakIndexInMountainArray(int[] arr) {
3938
// In the end start == end and pointing to the largest number because of the two checks above
4039
return start; // or end
4140
}
42-
}
41+
}

0 commit comments

Comments
 (0)