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 224k 51k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 66.2k 21.3k

  3. C C Public

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

    C 22.4k 4.8k

  4. Go Go Public

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

    Go 18.2k 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++ 34.6k 7.9k

  6. TypeScript TypeScript Public

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

    TypeScript 2.9k 580

Repositories

Showing 10 of 44 repositories
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python's past year of commit activity
    Python 224,408 MIT 51,024 101 (1 issue needs help) 591 Updated Sep 9, 2026
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java's past year of commit activity
    Java 66,232 MIT 21,257 5 10 Updated Sep 9, 2026
  • website Public

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

    TheAlgorithms/website's past year of commit activity
    TypeScript 1,044 MIT 220 23 19 Updated Sep 8, 2026
  • algorithms-keeper Public

    A bot for TheAlgorithms/Python repository.

    TheAlgorithms/algorithms-keeper's past year of commit activity
    Python 195 MIT 65 2 1 Updated Sep 5, 2026
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule's past year of commit activity
    39 MIT 18 0 0 Updated Sep 3, 2026
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust's past year of commit activity
    Rust 26,042 MIT 2,593 4 10 Updated Aug 27, 2026
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig's past year of commit activity
    Zig 405 MIT 62 0 0 Updated Aug 15, 2026
  • PHP Public

    All Algorithms implemented in PHP

    TheAlgorithms/PHP's past year of commit activity
    PHP 2,646 MIT 582 3 6 Updated Aug 10, 2026
  • Go Public

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

    TheAlgorithms/Go's past year of commit activity
    Go 18,205 MIT 2,820 6 (3 issues need help) 3 Updated Aug 3, 2026
  • Fortran Public

    All Algorithms implemented in Fortran. Making Fortran Great Again!

    TheAlgorithms/Fortran's past year of commit activity
    Fortran 102 MIT 30 1 0 Updated Jul 28, 2026