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 216k 49.8k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 64.6k 20.9k

  3. C C Public

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

    C 21.5k 4.7k

  4. Go Go Public

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

    Go 17.7k 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.6k 7.7k

  6. TypeScript TypeScript Public

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

    TypeScript 2.6k 515

Repositories

Showing 10 of 44 repositories
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule’s past year of commit activity
    30 MIT 16 0 0 Updated Dec 28, 2025
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 64,628 MIT 20,878 40 (1 issue needs help) 38 Updated Dec 28, 2025
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 25,242 MIT 2,502 3 3 Updated Dec 25, 2025
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 215,786 MIT 49,754 155 (3 issues need help) 665 Updated Dec 13, 2025
  • Fortran Public

    All Algorithms implemented in Fortran. Making Fortran Great Again!

    TheAlgorithms/Fortran’s past year of commit activity
    Fortran 84 MIT 29 1 1 Updated Nov 29, 2025
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    TheAlgorithms/Nim’s past year of commit activity
    Nim 98 MIT 28 3 (1 issue needs help) 5 Updated Nov 20, 2025
  • C-Sharp Public

    All algorithms implemented in C#.

    TheAlgorithms/C-Sharp’s past year of commit activity
    C# 7,978 GPL-3.0 1,676 0 0 Updated Nov 16, 2025
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig’s past year of commit activity
    Zig 325 MIT 48 0 0 Updated Nov 14, 2025
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 979 MIT 211 23 13 Updated Nov 2, 2025
  • R Public

    Collection of various algorithms implemented in R.

    TheAlgorithms/R’s past year of commit activity
    R 1,077 MIT 342 0 0 Updated Oct 26, 2025