Module rudac::algo::search [−][src]
Functions
Binary search is a search algorithm that finds the position of a target value within a sorted array.
Binary search is a search algorithm that finds the position of a target value within a sorted array.
Exponential search is a search algorithm that finds the position of a target value within a sorted array. Suitable for searching sorted, unbounded/infinite lists. Returns index of the found item, None otherwise
Exponential search is a search algorithm that finds the position of a target value within a sorted array. Suitable for searching sorted, unbounded/infinite lists. Returns index of the found item, None otherwise
Fibonacci search is a search algorithm that finds the position of a target value within a sorted array. Returns index of the found item, None otherwise
Fibonacci search is a search algorithm that finds the position of a target value within a sorted array. Returns index of the found item, None otherwise
A simple linear search
A simple linear search