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 578

Repositories

Showing 10 of 44 repositories
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java's past year of commit activity
    Java 66,198 MIT 21,254 4 9 Updated Aug 29, 2026
  • website Public

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

    TheAlgorithms/website's past year of commit activity
    TypeScript 1,042 MIT 221 23 19 Updated Aug 29, 2026
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python's past year of commit activity
    Python 224,102 MIT 50,999 146 (3 issues need help) 918 Updated Aug 29, 2026
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust's past year of commit activity
    Rust 26,026 MIT 2,592 3 13 Updated Aug 27, 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 1 Updated Aug 21, 2026
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig's past year of commit activity
    Zig 406 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,645 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,201 MIT 2,823 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 29, 2026
  • Dart Public

    All Algorithms implemented in Dart

    TheAlgorithms/Dart's past year of commit activity
    Dart 2,145 MIT 487 16 35 Updated Jun 28, 2026

Top languages

Loading…

Most used topics

Loading…