Skip to content

Commit d534212

Browse files
authored
Fix typo in interpolation search algorithm, mgechev#169 (mgechev#170)
1 parent 9fd51ef commit d534212

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/searching/interpolation-search.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
'use strict';
33
/**
44
* Searches for specific element in a given array using
5-
* the jump search algorithm.<br><br>
6-
* Time complexity: O(log N).
5+
* the interpolation search algorithm.<br><br>
6+
* Time complexity: O(log log N) when elements are uniformly
7+
* distributed, and O(N) in the worst case
78
*
89
* @example
910
*

0 commit comments

Comments
 (0)