Skip to content

Commit 195e80b

Browse files
authored
Fix typos in binary_search.m
1 parent 63a0463 commit 195e80b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

algorithms/Searching/binary_search.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
% repeat searching for this new range.
88
% If target can be found in array, this function returns its index.
99
% If target can not be found in array, it displays "target is not found in
10-
% aray"
10+
% array"
1111

1212
array_length = length(A);
1313
counter = 0; % number of iteration in searching algorithm
@@ -34,4 +34,4 @@
3434
if counter > floor(log(array_length))+1
3535
disp('target is not found in aray')
3636
end
37-
end
37+
end

0 commit comments

Comments
 (0)