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 45.9k

  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++ 30.9k 7.3k

  6. TypeScript TypeScript Public

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

    TypeScript 1.7k 350

Repositories

Showing 10 of 48 repositories
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 60,290 MIT 19,507 2 6 Updated Dec 12, 2024
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 195,530 MIT 45,930 73 (5 issues need help) 317 Updated Dec 12, 2024
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 23,008 MIT 2,253 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,228 GPL-3.0 1,532 1 (1 issue needs help) 0 Updated Dec 6, 2024
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 853 MIT 187 21 12 Updated Dec 5, 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,401 MIT 2,638 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 295 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 301 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,934 MIT 7,285 13 (2 issues need help) 28 Updated Nov 24, 2024