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 212k 48.9k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 64k 20.7k

  3. C C Public

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

    C 21.2k 4.6k

  4. Go Go Public

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

    Go 17.5k 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.2k 7.6k

  6. TypeScript TypeScript Public

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

    TypeScript 2.4k 490

Repositories

Showing 10 of 44 repositories
  • R Public

    Collection of various algorithms implemented in R.

    TheAlgorithms/R’s past year of commit activity
    R 1,038 MIT 342 0 42 Updated Oct 24, 2025
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 64,034 MIT 20,674 28 137 Updated Oct 23, 2025
  • C-Sharp Public

    All algorithms implemented in C#.

    TheAlgorithms/C-Sharp’s past year of commit activity
    C# 7,855 GPL-3.0 1,650 2 1 Updated Oct 23, 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,263 MIT 793 4 (1 issue needs help) 3 Updated Oct 23, 2025
  • .github Public

    Default configuration for @TheAlgorithms repositories

    TheAlgorithms/.github’s past year of commit activity
    274 MIT 60 5 6 Updated Oct 21, 2025
  • landing_page Public
    TheAlgorithms/landing_page’s past year of commit activity
    HTML 3 6 1 0 Updated Oct 21, 2025
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 211,942 MIT 48,930 124 (3 issues need help) 525 Updated Oct 20, 2025
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 24,907 MIT 2,478 5 8 Updated Oct 18, 2025
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 965 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,202 MIT 7,596 12 (2 issues need help) 38 Updated Oct 11, 2025