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.3k 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 575

Repositories

Showing 10 of 44 repositories
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java's past year of commit activity
    Java 66,171 MIT 21,264 6 9 Updated Aug 12, 2026
  • PHP Public

    All Algorithms implemented in PHP

    TheAlgorithms/PHP's past year of commit activity
    PHP 2,640 MIT 578 3 5 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,180 MIT 2,826 6 (3 issues need help) 5 Updated Aug 3, 2026
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python's past year of commit activity
    Python 223,756 MIT 50,968 143 (3 issues need help) 885 Updated Aug 3, 2026
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust's past year of commit activity
    Rust 25,983 MIT 2,591 3 12 Updated Aug 3, 2026
  • website Public

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

    TheAlgorithms/website's past year of commit activity
    TypeScript 1,040 MIT 221 23 19 Updated Jul 31, 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 Jul 29, 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
  • Dart Public

    All Algorithms implemented in Dart

    TheAlgorithms/Dart's past year of commit activity
    Dart 2,144 MIT 485 16 35 Updated Jun 28, 2026
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    TheAlgorithms/Nim's past year of commit activity
    Nim 109 MIT 31 3 (1 issue needs help) 5 Updated Jun 23, 2026