Examples of searching algorithms for A-Level OCR Computer Science, written in Python 🐍.
I wanted to practice Python to keep myself sharp, so I decided to write the searching algorithms I need to remember for A-Level in Python. The intention is to better understand how they work and potentially help anyone else in my position who stumbles over my code.
Pull the repository or view the code on GitHub, then navigate the folders of each algorithm. I will attach a Markdown file with my best explanation of each algorithm's function, as well as provide source code for it.
You're very welcome to clone and modify the code, and feel free to let me know if you have any improvements :)
- Linear Search ✅
- Binary Search ✅