Skip to content
@TheAlgorithms

The Algorithms

Open Source resource for learning Data Structures & Algorithms and their implementation in any Programming Language

Banner



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

  1. Python Python Public

    All Algorithms implemented in Python

    Python 185k 44.4k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 59k 19.1k

  3. C C Public

    Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.

    C 19k 4.3k

  4. Go Go Public

    Algorithms and Data Structures implemented in Go for beginners, following best practices.

    Go 15.9k 2.6k

  5. 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++ 30.2k 7.1k

  6. TypeScript TypeScript Public

    Algorithms and Data Structures implemented in TypeScript for beginners, following best practices.

    TypeScript 1.4k 297

Repositories

Showing 10 of 48 repositories
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
  • Go Public

    Algorithms and Data Structures implemented in Go for beginners, following best practices.

    TheAlgorithms/Go’s past year of commit activity
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule’s past year of commit activity
    17 MIT 5 0 0 Updated Oct 2, 2024
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
  • PHP Public

    All Algorithms implemented in PHP

    TheAlgorithms/PHP’s past year of commit activity
    PHP 1,867 MIT 426 0 1 Updated Oct 1, 2024
  • Lua Public

    Algorithms and Data Structures implemented in the Lua programming language

    TheAlgorithms/Lua’s past year of commit activity
    Lua 268 MIT 51 1 2 Updated Oct 1, 2024
  • Fortran Public

    All Algorithms implemented in Fortran. Making Fortran Great Again!

    TheAlgorithms/Fortran’s past year of commit activity
    Fortran 40 MIT 20 1 1 Updated Sep 29, 2024
  • 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
  • Mojo Public

    All algorithms implemented in Mojo. (The first open-sourced Mojo repository on GitHub)

    TheAlgorithms/Mojo’s past year of commit activity
    Mojo 31 MIT 6 2 0 Updated Sep 25, 2024