core
core functions
interpolation_search
interpolation_search (o, target, low=None, high=None, how='left')
Interpolation search algorithm to find the closest value to target in the sorted list o.
ainterpolation_search
ainterpolation_search (o, target, low=None, high=None, how='left')
Interpolation search algorithm to find the closest value to target in the sorted list o.
batched
batched (iterable, n)
Batch data into tuples of length n. The last batch may be shorter.