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 Public

    All Algorithms implemented in Python

    Python 207k 47.7k

  2. Java Public

    All Algorithms implemented in Java

    Java 63.2k 20.2k

  3. 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 Public

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

    Go 17.3k 2.7k

  5. C-Plus-Plus Public

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

    C++ 32.8k 7.5k

  6. TypeScript Public

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

    TypeScript 2.3k 461

Repositories

Showing 10 of 44 repositories
  • JavaScript Public

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

    JavaScript 33,580 GPL-3.0 5,721 9 117 Updated Sep 4, 2025
  • Python Public

    All Algorithms implemented in Python

    Python 206,552 MIT 47,714 72 (4 issues need help) 321 Updated Sep 4, 2025
  • Java Public

    All Algorithms implemented in Java

    Java 63,248 MIT 20,231 2 6 Updated Sep 3, 2025
  • C-Plus-Plus Public

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

    C++ 32,803 MIT 7,495 9 (2 issues need help) 17 Updated Sep 1, 2025
  • website Public

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

    TypeScript 948 MIT 205 23 12 Updated Aug 30, 2025
  • Rust Public

    All Algorithms implemented in Rust

    Rust 24,622 MIT 2,442 2 6 Updated Aug 30, 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.

    3,216 MIT 781 3 (1 issue needs help) 2 Updated Aug 28, 2025
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    29 MIT 14 0 0 Updated Aug 24, 2025
  • Go Public

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

    Go 17,307 MIT 2,735 6 (3 issues need help) 4 Updated Aug 19, 2025
  • Kotlin Public

    All Algorithms implemented in Kotlin

    Kotlin 1,532 MIT 397 5 (1 issue needs help) 60 Updated Aug 18, 2025