You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionBinarySearch(array,element,minIndex,maxIndex){// array = sorted array, element = element to be found, minIndex = low index, maxIndex = high index
12
12
if(minIndex>maxIndex){
@@ -18,10 +18,10 @@ function BinarySearch(array, element, minIndex, maxIndex) { // array = sorted ar
18
18
consttestElement=array[middleIndex];
19
19
20
20
tracer.select(minIndex,maxIndex);
21
-
tracer.delay();
21
+
Tracer.delay();
22
22
tracer.patch(middleIndex);
23
23
logger.println(`Searching at index: ${middleIndex}`);
0 commit comments