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 217k 50k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 64.9k 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.7k 4.7k

  4. Go Go Public

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

    Go 17.8k 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.8k 7.7k

  6. TypeScript TypeScript Public

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

    TypeScript 2.6k 524

Repositories

Showing 10 of 44 repositories
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 25,391 MIT 2,517 3 3 Updated Jan 31, 2026
  • Ruby Public

    All algorithms implemented in Ruby

    TheAlgorithms/Ruby’s past year of commit activity
    Ruby 1,295 MIT 309 4 6 Updated Jan 31, 2026
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 64,895 MIT 20,926 32 13 Updated Jan 30, 2026
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 992 MIT 213 23 15 Updated Jan 29, 2026
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 217,340 MIT 50,017 158 (3 issues need help) 723 Updated Jan 25, 2026
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    TheAlgorithms/Nim’s past year of commit activity
    Nim 101 MIT 30 3 (1 issue needs help) 5 Updated Jan 24, 2026
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule’s past year of commit activity
    32 MIT 16 0 0 Updated Jan 24, 2026
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig’s past year of commit activity
    Zig 340 MIT 52 0 0 Updated Jan 5, 2026
  • Fortran Public

    All Algorithms implemented in Fortran. Making Fortran Great Again!

    TheAlgorithms/Fortran’s past year of commit activity
    Fortran 89 MIT 30 1 1 Updated Jan 3, 2026
  • C-Sharp Public

    All algorithms implemented in C#.

    TheAlgorithms/C-Sharp’s past year of commit activity
    C# 8,028 GPL-3.0 1,685 0 0 Updated Nov 16, 2025