search_algorithms
A Dart package providing various search algorithms like Binary Search, Linear Search, and Jump Search.
Features
- Linear Search
- Binary Search
- Jump Search
Each search algorithm provides the index of the target element if found, otherwise returns -1. Additionally, the time taken for each search is printed in microseconds.
Installation
Add the following line to your pubspec.yaml file under dependencies:
dependencies:
search_algorithms: ^1.0.0