Search Algorithms Package
This package provides implementations of various search algorithms, including Binary Search, Linear Search, and Jump Search. Each search function returns the index of the found item or -1 if not found, along with the time taken to perform the search.
Features
- Binary Search: Efficient search on sorted lists.
- Linear Search: Simple search method for unsorted lists.
- Jump Search: Faster than linear search for sorted lists.
Getting started
To start using the search_algorithms
package, add it to your pubspec.yaml
file:
dependencies:
search_algorithms:
path: ../search_algorithms # Replace with the correct path or use the version if published
Libraries
- searching_algorithms_uzb
- Support for doing something awesome.