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 Public

    All Algorithms implemented in Python

    Python 204k 47.3k

  2. Java Public

    All Algorithms implemented in Java

    Java 62.7k 20.1k

  3. C Public

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

    C 20.6k 4.6k

  4. Go Public

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

    Go 17.2k 2.7k

  5. C-Plus-Plus Public

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

    C++ 32.6k 7.5k

  6. TypeScript Public

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

    TypeScript 2.2k 450

Repositories

Showing 10 of 44 repositories
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    Nim 91 MIT 28 3 (1 issue needs help) 6 Updated Aug 12, 2025
  • Python Public

    All Algorithms implemented in Python

    Python 203,962 MIT 47,293 74 (4 issues need help) 359 Updated Aug 12, 2025
  • Java Public

    All Algorithms implemented in Java

    Java 62,669 MIT 20,127 5 7 Updated Aug 12, 2025
  • Rust Public

    All Algorithms implemented in Rust

    Rust 24,491 MIT 2,430 3 5 Updated Aug 11, 2025
  • .github Public

    Default configuration for @TheAlgorithms repositories

    258 MIT 59 4 6 Updated Aug 11, 2025
  • Julia Public

    Algorithms implemented in the Julia programming language. We're collaborating with the Humans of Julia community!

    Julia 473 MIT 111 1 2 Updated Aug 2, 2025
  • C-Sharp Public

    All algorithms implemented in C#.

    C# 7,682 GPL-3.0 1,616 2 (1 issue needs help) 0 Updated Jul 21, 2025
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    28 MIT 15 0 0 Updated Jul 20, 2025
  • Fortran Public

    All Algorithms implemented in Fortran. Making Fortran Great Again!

    Fortran 67 MIT 26 1 0 Updated Jul 14, 2025
  • C-Plus-Plus Public

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

    C++ 32,579 MIT 7,473 12 (2 issues need help) 27 Updated Jul 9, 2025