A large educational collection of algorithms and data structures implemented in readable Python, from sorting and graph search to cryptography and machine learning. Meant for learning how they work rather than for production use.
PythonCreated
What is TheAlgorithms/Python?
The Algorithms is a community project that implements algorithms and data structures in Python, with the aim of teaching how they work. Its implementations are written for clarity and learning rather than production speed, and the README says they may be less efficient than the Python standard library, so they should be used at the reader's discretion. The repository is organised into a directory of algorithm families, from sorting and searching to graphs, dynamic programming, cryptography and machine learning.
Contributors follow published guidelines before adding an implementation, and the project has community channels for questions. Each algorithm is typically accompanied by tests and an explanation, so readers can run it and check its behaviour.
It is useful for students learning algorithms in Python, for interview preparation, and for teachers looking for readable reference implementations.
A massive, community-maintained list of legally free programming books, courses, interactive tutorials and podcasts, organized by programming language and by spoken language. A first stop when you want to learn a topic without paying.
A study guide for designing scalable systems, covering caching, load balancing, databases, queues and consistency trade-offs, with worked interview problems and Anki flashcards. Widely used to prepare for system design interviews.
The model-definition library behind most open machine learning work: thousands of pretrained text, vision, audio and multimodal models with a shared API for running, fine-tuning and training them in PyTorch and other frameworks.
A free, beginner-friendly book on data structures and algorithms with animated illustrations and runnable code in more than a dozen languages, including Python, Java, C++, Go and Rust. Available in Chinese, English and other languages.