Skip to content

Commit 83f4663

Browse files
Update BinarySearch.java
1 parent 0725c07 commit 83f4663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/BinarySearch.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static int binarySearch(int arr[], int low, int high, int key) {
2222
public static void main(String[] args) {
2323
int intArray[] = {7, 8, 9};
2424

25-
int key = 5;
25+
int key = 8;
2626

2727
if (binarySearch(intArray, 0, 5, key) != -1) {
2828

0 commit comments

Comments
 (0)