Skip to content

Commit 9b0a0c5

Browse files
Find First and Last Position of Element in Sorted Array - Leetcode 34
1 parent 1843cb1 commit 9b0a0c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/array/lower_bound_upper_bound/FirstLastPosition.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public class FirstLastPosition {
2222
* @param nums A non-decreasingly sorted array of integers.
2323
* @param target The value to search for.
2424
* @return An array of two integers {@code [start, end]} representing the
25-
* first and last indices of the target. If the target is not found,
26-
* it returns {@code [-1, -1]}.
25+
* first and last indices of the target. If the target is not found,
26+
* it returns {@code [-1, -1]}.
2727
*/
2828
public int[] searchRange(int[] nums, int target) {
2929
if (nums == null || nums.length == 0) {

0 commit comments

Comments
 (0)