mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-30 22:23:42 +00:00
All Algorithms implemented in Python
the-algorithms.com/
algorithmalgorithm-competitionsalgorithms-implementedalgoscommunity-driveneducationhacktoberfestinterviewlearnpracticepythonsearchessorting-algorithmssorts
2e2e1b656c
This is a followup to https://github.com/TheAlgorithms/Python/pull/4973#issuecomment-933117382 As per given suggestion, I've added type hints to certain methods that don't have them. I have also added documentation and example doctests as a usage example for (most of) those that don't have them. I have also added another test case following the previous test case's format. I noticed that the existing test case from previous pull request might be redundant with the ones I've made, so I decided to create a specific situation where the linked list would have to keep different kinds of data types for each node, in `test_singly_linked_list_2` test function. Some minor changes in strings has been done to keep things consistent with other parts of the document. If it is undesirable, please let me know. |
||
---|---|---|
.github | ||
arithmetic_analysis | ||
backtracking | ||
bit_manipulation | ||
blockchain | ||
boolean_algebra | ||
cellular_automata | ||
ciphers | ||
compression | ||
computer_vision | ||
conversions | ||
data_structures | ||
digital_image_processing | ||
divide_and_conquer | ||
dynamic_programming | ||
electronics | ||
file_transfer | ||
fractals | ||
fuzzy_logic | ||
genetic_algorithm | ||
geodesy | ||
graphics | ||
graphs | ||
greedy_methods | ||
hashes | ||
knapsack | ||
linear_algebra | ||
machine_learning | ||
maths | ||
matrix | ||
networking_flow | ||
neural_network | ||
other | ||
physics | ||
project_euler | ||
quantum | ||
scheduling | ||
scripts | ||
searches | ||
sorts | ||
strings | ||
web_programming | ||
.coveragerc | ||
.gitattributes | ||
.gitignore | ||
.gitpod.yml | ||
.pre-commit-config.yaml | ||
CONTRIBUTING.md | ||
DIRECTORY.md | ||
LICENSE.md | ||
mypy.ini | ||
pytest.ini | ||
README.md | ||
requirements.txt |
Implementations are for learning purposes only. As they may be less efficient than the implementations in the Python standard library, use them at your discretion.
Getting Started
Read through our Contribution Guidelines before you contribute.
Community Channels
We're on Discord and Gitter! Community channels are great for you to ask questions and get help. Please join us!
List of Algorithms
See our directory for easier navigation and better overview of the project.