FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Binary Search here takes two arguments not 4 · crazyrainman/AlgorithmVisualizer@c950fa2 · GitHub

Commit c950fa2

Browse files
Binary Search here takes two arguments not 4
1 parent f039b39 commit c950fa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • algorithm/search/binary_search/iterative

‎algorithm/search/binary_search/iterative/code.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ function BinarySearch(array, element) { // array = sorted array, element = eleme
4040
var element = D[Integer.random(0, D.length - 1)];
4141

4242
logger._print('Using iterative binary search to find ' + element);
43-
BinarySearch(D, element, 0, D.length - 1);
43+
BinarySearch(D, element);

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL