Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 11 / array_algorithms.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Sem. 11/array_algorithms.cpp2
diff --git a/Sem. 11/array_algorithms.cpp b/Sem. 11/array_algorithms.cpp
index 9859162..ed8d664 100644
--- a/Sem. 11/array_algorithms.cpp
+++ b/Sem. 11/array_algorithms.cpp
@@ -38,7 +38,7 @@ int binarySearch(const int* arr, int len, int searched)
return midIndex;
if (arr[midIndex] > searched)
rightIndex = midIndex - 1;
- else //<
+ else
leftIndex = midIndex + 1;
}
return -1;