Skip to content

Commit 8d7fd69

Browse files
authored
Update 1.java
1 parent 58a0ead commit 8d7fd69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

15/1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static int upperBound(int[] arr, int target, int start, int end) {
2222

2323
// 값이 [left_value, right_value]인 데이터의 개수를 반환하는 함수
2424
public static int countByRange(int[] arr, int leftValue, int rightValue) {
25-
// 유의: lowerBound와 upperBound는 배열의 길이를 end 변수의 값으로 설정
25+
// 유의: lowerBound와 upperBound는 end 변수의 값을 배열의 길이로 설정
2626
int rightIndex = upperBound(arr, rightValue, 0, arr.length);
2727
int leftIndex = lowerBound(arr, leftValue, 0, arr.length);
2828
return rightIndex - leftIndex;

0 commit comments

Comments
 (0)