Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4648f7 commit fdeda72Copy full SHA for fdeda72
1 file changed
Search/BinarySearch.js
@@ -46,7 +46,7 @@ function binarySearchIterative (arr, x, low = 0, high = arr.length - 1) {
46
}
47
48
// if low > high => we have searched the whole array without finding the item
49
- return -1
+ return -1
50
51
52
/* ---------------------------------- Test ---------------------------------- */
0 commit comments