The Algorithms Official Website This is a static Next.js site providing a searchable library of all the algorithms in The Algorithms. All the data about the algorithms gets scraped directly…
The Algorithms Official Website
This is a static Next.js site providing a searchable library of all the algorithms in The Algorithms. All the data about the algorithms gets scraped directly from the git repositories.
Translating the website
You can help us translate the TheAlgorithms website using Weblate here. There you can complete the translations for our current languages, or suggest something if you are unsure. Also feel free to add a new language. The current languages are:

Getting Started
If you haven't installed it yet, install Node.js and yarn. Then, install all the dependencies:
bash
yarn
After that, run the script that fetches all the algorithms from GitHub:
bash
yarn fetch-algorithms
Finally, run the development server:
bash
yarn dev
Open http://localhost:3000 with your browser to see the website.
Alternatively, you can also use the https://github.com/TheAlgorithms/website" rel="noopener nofollow" target="_blank">Ready-to-Code Gitpod and easily check how your deployment looks. It will automatically run the commands mentioned above on run.
Contributing
If you want to add a new feature or fix a bug, create a new branch or fork and commit there. Before opening a PR, be sure to
- Run
yarn lintand fix potential errors - Run
yarn buildto check if everything still builds successfully
main. Vercel will automatically create a preview deployment, and the pull request will be squash merged after being reviewed by a member.
License
The source code of website itself (this repository) is licensed under MIT, while all the licenses for the code and explanations on the website can be found in the respective repositories.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
Members
-
Python ★ PINNED
All Algorithms implemented in Python
Python ★ 223k 10d agoExplain → -
Java ★ PINNED
All Algorithms implemented in Java
Java ★ 66k 23h agoExplain → -
C ★ PINNED
Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
C ★ 22k 1y agoExplain → -
Go ★ PINNED
Algorithms and Data Structures implemented in Go for beginners, following best practices.
Go ★ 18k 3mo agoExplain → -
C-Plus-Plus ★ PINNED
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
C++ ★ 34k 9mo agoExplain → -
TypeScript ★ PINNED
Algorithms and Data Structures implemented in TypeScript for beginners, following best practices.
TypeScript ★ 2.9k 1y agoExplain → -
JavaScript
Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
JavaScript ★ 34k 4mo agoExplain → -
Rust
All Algorithms implemented in Rust
Rust ★ 26k 4d agoExplain → -
C-Sharp
All algorithms implemented in C#.
C# ★ 8.2k 8mo agoExplain → -
Algorithms-Explanation
Popular algorithms explained in simple language with examples and links to their implementation in various programming languages and other required resources.
★ 3.5k 9mo agoExplain → -
PHP
All Algorithms implemented in PHP
PHP ★ 2.6k 1y agoExplain → -
Dart
All Algorithms implemented in Dart
Dart ★ 2.1k 22d agoExplain → -
Kotlin
All Algorithms implemented in Kotlin
Kotlin ★ 1.6k 11mo agoExplain → -
Ruby
All algorithms implemented in Ruby
Ruby ★ 1.3k 5mo agoExplain → -
R
Collection of various algorithms implemented in R.
R ★ 1.2k 1mo agoExplain → -
TheAlgorithms.github.io ▣
This website is deprecated. The new website is https://the-algorithms.com. You can see the old website by going to https://thealgorithms.github.io/index-old.html
HTML ★ 1.1k 4y agoExplain → -
Scala
All Algorithms implemented in Scala
Scala ★ 1.1k 1y agoExplain → -
website
The Algorithms website providing GitHub's largest open-source algorithm library.
TypeScript ★ 1.0k 1mo agoExplain → -
Jupyter
The repository contains script and notebook related to Statistics, Machine learning, Neural network, Deep learning, NLP, Numerical methods, and Automation.
Jupyter Notebook ★ 913 2y agoExplain → -
Swift
All Algorithms implemented in Swift
Swift ★ 564 1y agoExplain → -
Julia
Algorithms implemented in the Julia programming language. We're collaborating with the Humans of Julia community!
Julia ★ 516 11mo agoExplain → -
Haskell
No description.
Haskell ★ 427 2y agoExplain → -
MATLAB-Octave
This repository contains algorithms written in MATLAB/Octave. Developing algorithms in the MATLAB environment empowers you to explore and refine ideas, and enables you test and verify your algorithm.
MATLAB ★ 411 3y agoExplain → -
Zig
Collection of Algorithms implemented in Zig.
Zig ★ 397 1mo agoExplain → -
Lua
Algorithms and Data Structures implemented in the Lua programming language
Lua ★ 382 1y agoExplain → -
Solidity
Algorithms and data structures implemented in Solidity
Solidity ★ 361 2y agoExplain → -
.github
Default configuration for @TheAlgorithms repositories
★ 322 9mo agoExplain → -
Elixir
No description.
Elixir ★ 263 2y agoExplain → -
F-Sharp
All Algorithms implemented in F#
F# ★ 240 2mo agoExplain → -
website-old ▣
This website is no longer maintained. Please see https://github.com/TheAlgorithms/website
HTML ★ 215 5y agoExplain → -
algorithms-keeper
A bot for TheAlgorithms/Python repository.
Python ★ 193 2y agoExplain → -
AArch64_Assembly
All Algorithms implemented in AArch64 Assembly
Assembly ★ 188 28d agoExplain → -
OCaml
Algorithms Implemented in OCaml
OCaml ★ 119 3y agoExplain → -
Clojure
All Algorithms implemented in Clojure
Clojure ★ 111 2y agoExplain → -
Nim
Collection of various algorithms implemented in Nim for educational purposes.
Nim ★ 108 27d agoExplain → -
Fortran
All Algorithms implemented in Fortran. Making Fortran Great Again!
Fortran ★ 99 29d agoExplain → -
scripts
Scripts used across all The Algorithms repositories
Python ★ 89 2y agoExplain → -
C-Plus-Plus-1 ⑂
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
★ 74 3y agoExplain → -
Elm
All Algorithms implemented in Elm
Elm ★ 72 3y agoExplain → -
Mojo
All algorithms implemented in Mojo. (The first open-sourced Mojo repository on GitHub)
Mojo ★ 57 5mo agoExplain → -
Jule
Algorithms and data structures implemented in the Jule programming language.
★ 38 18d agoExplain → -
Zig-delete ▣
All Algorithms implemented in Zig
★ 14 3y agoExplain → -
contributor_covenant ⑂
Pledge your respect and appreciation for contributors of all kinds to your open source project.
★ 12 4y agoExplain → -
landing_page
No description.
HTML ★ 10 9mo agoExplain →
No repos match these filters.