Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
#include <bits/stdc++.h>
using namespace std;

#include <bits/stdc++.h>
using namespace std;


// A recursive binary search function. It returns
// location of x in given array arr[l..r] is present,
// otherwise -1
Expand Down Expand Up @@ -41,4 +39,4 @@ int binarySearch(vector<int> v, int x)
int n = v.size();
int result = binary(v, 0, n - 1, x);
return result;
}
}