Skip to content

Commit 1ab014e

Browse files
refactor 1287
1 parent 665c0a1 commit 1ab014e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/main/java/com/fishercoder/solutions/_1287.java

-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 1287. Element Appearing More Than 25% In Sorted Array
5-
*
6-
* Given an integer array sorted in non-decreasing order, there is exactly one integer in the array that occurs more than 25% of the time.
7-
* Return that integer.
8-
*
9-
* Example 1:
10-
* Input: arr = [1,2,2,6,6,6,6,7,10]
11-
* Output: 6
12-
*
13-
* Constraints:
14-
*
15-
* 1 <= arr.length <= 10^4
16-
* 0 <= arr[i] <= 10^5
17-
* */
183
public class _1287 {
194
public static class Solution1 {
205
public int findSpecialInteger(int[] arr) {

0 commit comments

Comments
 (0)