Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎src/BinarySearch.java

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /