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 63a0463 commit 195e80bCopy full SHA for 195e80b
algorithms/Searching/binary_search.m
@@ -7,7 +7,7 @@
7
% repeat searching for this new range.
8
% If target can be found in array, this function returns its index.
9
% If target can not be found in array, it displays "target is not found in
10
-% aray"
+% array"
11
12
array_length = length(A);
13
counter = 0; % number of iteration in searching algorithm
@@ -34,4 +34,4 @@
34
if counter > floor(log(array_length))+1
35
disp('target is not found in aray')
36
end
37
-end
+end
0 commit comments