Skip to content

Commit 9748746

Browse files
refactor 34
1 parent f4bec1a commit 9748746

File tree

1 file changed

+0
-12
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 34. Search for a Range
5-
*
6-
* Given an array of integers sorted in ascending order, find the starting and ending position of a given target value.
7-
* Your algorithm's runtime complexity must be in the order of O(log n).
8-
* If the target is not found in the array, return [-1, -1].
9-
10-
For example,
11-
Given [5, 7, 7, 8, 8, 10] and target value 8,
12-
return [3, 4].
13-
14-
*/
153
public class _34 {
164

175
public int[] searchRange(int[] nums, int target) {

0 commit comments

Comments
 (0)