Skip to content

Here is some searching and sorting algorithms in Python

Notifications You must be signed in to change notification settings

OG-Matcha/Searching-and-Sorting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 

Repository files navigation

Searching Algorithms

This repository contains implementations of several popular searching algorithms in python, including:

Each algorithm is implemented in its own separate python file, with a brief description of how it works and its time complexity.

You can use the provided test cases to check the correctness of your implementation and also you can test with your own test cases.

Please feel free to open an issue if you have any questions or suggestions.

Note

For better understanding and implementation, please read the comments provided in the code.

Searching Method Time Complexity
Binary Search O(log n)
Exponential Search O(log n)
Fibonacci Search O(log n)
Interpolation Search O(log log n)
Jump Search O(sqrt(n))
Linear Search O(n)
Ternary Search O(log n)

Releases

No releases published

Packages

No packages published

Languages