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 207k 47.8k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 63.4k 20.3k

  3. C C Public

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

    C 20.8k 4.6k

  4. Go Go Public

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

    Go 17.3k 2.7k

  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++ 32.9k 7.5k

  6. TypeScript TypeScript Public

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

    TypeScript 2.3k 463

Repositories

Showing 10 of 44 repositories
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 63,397 MIT 20,262 3 1 Updated Sep 17, 2025
  • C-Sharp Public

    All algorithms implemented in C#.

    TheAlgorithms/C-Sharp’s past year of commit activity
    C# 7,751 GPL-3.0 1,621 2 (1 issue needs help) 4 Updated Sep 16, 2025
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 207,413 MIT 47,818 76 (4 issues need help) 326 Updated Sep 15, 2025
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 24,665 MIT 2,447 2 6 Updated Sep 10, 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++ 32,890 MIT 7,500 11 (2 issues need help) 17 Updated Sep 10, 2025
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule’s past year of commit activity
    29 MIT 14 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,343 MIT 2,740 6 (3 issues need help) 5 Updated Sep 9, 2025
  • JavaScript Public

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

    TheAlgorithms/JavaScript’s past year of commit activity
    JavaScript 33,628 GPL-3.0 5,728 9 118 Updated Sep 4, 2025
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 948 MIT 205 23 12 Updated Aug 29, 2025
  • Algorithms-Explanation Public

    Popular algorithms explained in simple language with examples and links to their implementation in various programming languages and other required resources.

    TheAlgorithms/Algorithms-Explanation’s past year of commit activity
    3,224 MIT 784 3 (1 issue needs help) 2 Updated Aug 28, 2025