We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4648f7 commit fdeda72Copy full SHA for fdeda72
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