Skip to content

Commit 6d55e80

Browse files
committed
fix: prettier fix TheAlgorithms#2
1 parent 61b1d22 commit 6d55e80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

search/exponential_search.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { binarySearchIterative } from './binary_search'
77
* where the value may be present and then performing a binary search within that range.
88
*
99
* Compared with binary search, exponential search can be more convenient and advantageous
10-
* in cases where the element to be searched is closer to the beginning of the array,
11-
* thus avoiding several comparisons that would make the search more verbose.
10+
* in cases where the element to be searched is closer to the beginning of the array,
11+
* thus avoiding several comparisons that would make the search more verbose.
1212
* Exponential search doubles the search time with each iteration.
1313
*
1414
* @param {number[]} array - sorted list of numbers

0 commit comments

Comments
 (0)