We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
int[] myList = {87, 21, 45, 93}; The array is not sorted. Must be: int[] myList = {21, 45, 87, 93};
The text was updated successfully, but these errors were encountered:
System.out.println(binarySearch(myList, 87));
This line will work incorrectly.
Sorry, something went wrong.
I also noticed this and was about to create an issue for it.
I have created one. :( I can open merge request if that helps.
No branches or pull requests
int[] myList = {87, 21, 45, 93};
The array is not sorted.
Must be:
int[] myList = {21, 45, 87, 93};
The text was updated successfully, but these errors were encountered: