Skip to content
@TheAlgorithms

The Algorithms

Open Source resource for learning Data Structures & Algorithms and their implementation in any Programming Language

Banner

Image Image
Image Image Image


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 219k 50.1k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 65.2k 21k

  3. C C Public

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

    C 21.8k 4.7k

  4. Go Go Public

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

    Go 17.9k 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.9k 7.7k

  6. TypeScript TypeScript Public

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

    TypeScript 2.7k 530

Repositories

Showing 10 of 44 repositories
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 65,187 MIT 21,015 25 6 Updated Mar 11, 2026
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 218,585 MIT 50,148 165 (3 issues need help) 722 Updated Mar 11, 2026
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 25,548 MIT 2,536 2 4 Updated Mar 7, 2026
  • JavaScript Public

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

    TheAlgorithms/JavaScript’s past year of commit activity
    JavaScript 34,082 GPL-3.0 5,836 20 181 Updated Mar 7, 2026
  • Dart Public

    All Algorithms implemented in Dart

    TheAlgorithms/Dart’s past year of commit activity
    Dart 2,097 MIT 488 16 37 Updated Feb 27, 2026
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    TheAlgorithms/Nim’s past year of commit activity
    Nim 102 MIT 30 3 (1 issue needs help) 5 Updated Feb 26, 2026
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 997 MIT 217 23 16 Updated Feb 19, 2026
  • Mojo Public

    All algorithms implemented in Mojo. (The first open-sourced Mojo repository on GitHub)

    TheAlgorithms/Mojo’s past year of commit activity
    Mojo 53 MIT 14 0 0 Updated Feb 9, 2026
  • Fortran Public

    All Algorithms implemented in Fortran. Making Fortran Great Again!

    TheAlgorithms/Fortran’s past year of commit activity
    Fortran 93 MIT 31 1 0 Updated Feb 8, 2026
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig’s past year of commit activity
    Zig 357 MIT 56 0 0 Updated Feb 6, 2026