The Algorithms
Open Source resource for learning Data Structures & Algorithms and their implementation in any Programming Language
README.md
We are a group of programmers helping each other build new things, whether it be writing complex encryption programs, or simple ciphers. Our goal is to work together to document and model beautiful, helpful and interesting algorithms using code.
We are an open-source community - anyone can contribute. We check each other's work, communicate and collaborate to solve problems. We strive to be welcoming, respectful, yet make sure that our code follows the latest programming guidelines.
Pinned
Loading
-
Python Python
Public
All Algorithms implemented in Python
Python
227k
51.4k
-
Java Java
Public
All Algorithms implemented in Java
Java
67.5k
21.6k
-
C C
Public
Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
C
22.7k
4.8k
-
Go Go
Public
Algorithms and Data Structures implemented in Go for beginners, following best practices.
Go
18.3k
2.8k
-
C-Plus-Plus C-Plus-Plus
Public
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
C++
35k
7.9k
-
TypeScript TypeScript
Public
Algorithms and Data Structures implemented in TypeScript for beginners, following best practices.
TypeScript
3k
591
Repositories
Showing 10 of 44 repositories
-
Java
Public
All Algorithms implemented in Java
TheAlgorithms/Java's past year of commit activity
Java
67,455
MIT
21,558
4
14
Updated Dec 6, 2026
-
C-Plus-Plus
Public
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
TheAlgorithms/C-Plus-Plus's past year of commit activity
C++
34,951
MIT
7,924
8
(2 issues need help)
38
Updated Dec 5, 2026
-
Go
Public
Algorithms and Data Structures implemented in Go for beginners, following best practices.
TheAlgorithms/Go's past year of commit activity
Go
18,287
MIT
2,833
7
(3 issues need help)
6
Updated Dec 3, 2026
-
Nim
Public
Collection of various algorithms implemented in Nim for educational purposes.
TheAlgorithms/Nim's past year of commit activity
Nim
111
MIT
31
3
(1 issue needs help)
5
Updated Nov 29, 2026
-
R
Public
Collection of various algorithms implemented in R.
TheAlgorithms/R's past year of commit activity
R
1,227
MIT
361
0
0
Updated Nov 29, 2026
-
Rust
Public
All Algorithms implemented in Rust
TheAlgorithms/Rust's past year of commit activity
Rust
26,236
MIT
2,601
2
7
Updated Nov 26, 2026
-
Jule
Public
Algorithms and data structures implemented in the Jule programming language.
TheAlgorithms/Jule's past year of commit activity
42
MIT
19
0
0
Updated Nov 21, 2026
-
website
Public
The Algorithms website providing GitHub's largest open-source algorithm library.
TheAlgorithms/website's past year of commit activity
TypeScript
1,061
MIT
224
23
19
Updated Nov 20, 2026
-
Python
Public
All Algorithms implemented in Python
TheAlgorithms/Python's past year of commit activity
Python
226,669
MIT
51,372
16
168
Updated Nov 13, 2026
-
PHP
Public
All Algorithms implemented in PHP
TheAlgorithms/PHP's past year of commit activity
PHP
2,673
MIT
587
3
6
Updated Nov 12, 2026
View all repositories
View all
Top languages
Python
HTML
C++
TypeScript
Jupyter Notebook
Most used topics
algorithms
hacktoberfest
data-structures
algorithm
education
Developer Program Member