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 211k 48.6k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 63.9k 20.5k

  3. C C Public

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

    C 21.1k 4.6k

  4. Go Go Public

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

    Go 17.4k 2.8k

  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++ 33.1k 7.6k

  6. TypeScript TypeScript Public

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

    TypeScript 2.4k 482

Repositories

Showing 10 of 44 repositories
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 961 MIT 210 23 12 Updated Oct 11, 2025
  • 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++ 33,121 MIT 7,569 11 (2 issues need help) 23 Updated Oct 11, 2025
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 63,880 MIT 20,482 20 65 Updated Oct 11, 2025
  • R Public

    Collection of various algorithms implemented in R.

    TheAlgorithms/R’s past year of commit activity
    R 1,018 MIT 330 7 (2 issues need help) 6 Updated Oct 11, 2025
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 210,543 MIT 48,601 103 (4 issues need help) 523 Updated Oct 8, 2025
  • C-Sharp Public

    All algorithms implemented in C#.

    TheAlgorithms/C-Sharp’s past year of commit activity
    C# 7,835 GPL-3.0 1,650 2 1 Updated Oct 6, 2025
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 24,833 MIT 2,472 4 11 Updated Oct 1, 2025
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig’s past year of commit activity
    Zig 292 MIT 46 0 0 Updated Sep 19, 2025
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule’s past year of commit activity
    29 MIT 15 0 0 Updated Sep 10, 2025
  • Go Public

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

    TheAlgorithms/Go’s past year of commit activity
    Go 17,436 MIT 2,754 6 (3 issues need help) 5 Updated Sep 8, 2025