Skip to content

Commit b47e45e

Browse files
committed
update docs
1 parent e200aff commit b47e45e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

searches/interpolation_search.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def interpolation_search(sorted_collection: list[int], item: int) -> int | None:
88
Searches for an item in a sorted collection by interpolation search algorithm.
99
1010
Args:
11-
sorted_collection: An ascending sorted collection of comparable items.
12-
item : The item value to search for.
11+
sorted_collection: sorted list of integers
12+
item: item value to search
1313
1414
Returns:
1515
int: The index of the found item, or None if the item is not found.

0 commit comments

Comments
 (0)