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 196k 46k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 60.3k 19.5k

  3. C C Public

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

    C 19.4k 4.4k

  4. Go Go Public

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

    Go 16.4k 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++ 31k 7.3k

  6. TypeScript TypeScript Public

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

    TypeScript 1.7k 353

Repositories

Showing 10 of 48 repositories
  • website Public

    The Algorithms website providing GitHub's largest open-source algorithm library.

    TheAlgorithms/website’s past year of commit activity
    TypeScript 854 MIT 187 21 13 Updated Dec 17, 2024
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 195,653 MIT 45,959 73 (5 issues need help) 321 Updated Dec 16, 2024
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 60,336 MIT 19,518 2 6 Updated Dec 16, 2024
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 23,030 MIT 2,256 2 5 Updated Dec 10, 2024
  • F-Sharp Public

    All Algorithms implemented in F#

    TheAlgorithms/F-Sharp’s past year of commit activity
    F# 213 MIT 52 0 0 Updated Dec 7, 2024
  • C-Sharp Public

    All algorithms implemented in C#.

    TheAlgorithms/C-Sharp’s past year of commit activity
    C# 7,232 GPL-3.0 1,532 1 (1 issue needs help) 0 Updated Dec 6, 2024
  • Go Public

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

    TheAlgorithms/Go’s past year of commit activity
    Go 16,412 MIT 2,641 7 (3 issues need help) 6 Updated Dec 2, 2024
  • Lua Public

    Algorithms and Data Structures implemented in the Lua programming language

    TheAlgorithms/Lua’s past year of commit activity
    Lua 297 MIT 57 1 2 Updated Dec 1, 2024
  • R Public

    Collection of various algorithms implemented in R.

    TheAlgorithms/R’s past year of commit activity
    R 889 MIT 300 7 (2 issues need help) 2 Updated Nov 26, 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
    C++ 30,962 MIT 7,288 12 (2 issues need help) 24 Updated Nov 24, 2024