Learn Algorithms & Data Structures
Open source resource for learning algorithms and their implementation in any programming language
About The Algorithms
30+
Programming Languages
250k+
Total Stars
100k+
Members & Contributors
1000+
Algorithms
The Algorithms is the largest open-source algorithm library on GitHub, backed by an active community of developers worldwide.
Clear, well-documented implementations in multiple programming languages
Beginner-friendly explanations and step-by-step guides
Active community support and code reviews
Educational resources for computer science students
Regular updates and maintenance by expert developers
Cross-platform compatibility and optimized implementations
Programming Languages
Popular Algorithm Categories
Sorting Algorithms
- Bubble Sort
- Quick Sort
- Merge Sort
- Heap Sort
- Insertion Sort
- Selection Sort
- Radix Sort
- Shell Sort
Searching Algorithms
- Binary Search
- Linear Search
- Jump Search
- Interpolation Search
- Exponential Search
- Fibonacci Search
- Ternary Search
Graph Algorithms
- Dijkstra's Algorithm
- Breadth First Search
- Depth First Search
- Bellman Ford
- Floyd Warshall
- Kruskal's Algorithm
- Prim's Algorithm
- A* Pathfinding
Data Structures
- Binary Trees
- Linked Lists
- Hash Tables
- Stacks & Queues
- AVL Trees
- Red-Black Trees
- Heaps
- Tries
How to Contribute
Fork & Clone
Start by forking the repository of your chosen programming language and clone it locally.
Implement
Add your algorithm implementation following our coding guidelines and documentation standards.
Test
Ensure your code works correctly by adding appropriate test cases.
Submit
Create a pull request with your changes and wait for review from our maintainers.
Latest from Twitter
Stay Connected
Follow us on Twitter for:
- Latest algorithm implementations
- Community updates
- Learning resources
- Contribution opportunities
Join Our Community
6k+
Discord Members
1000+
Contributors
100K+
Monthly Views
Our Team
Meet the amazing people behind The Algorithms