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 f77f4cc commit cf0fa50Copy full SHA for cf0fa50
pygorithm/searching/interpolation_search.py
@@ -21,7 +21,7 @@ def search(_list, target):
21
"""
22
23
if type(_list) is not list:
24
- raise TypeError("interpolation search only expects lists, not {}".format(str(type(_list))))
+ raise TypeError("interpolation search only accpets lists, not {}".format(str(type(_list))))
25
26
# First element
27
low = 0
0 commit comments