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 202k 46.9k

  2. Java Public

    All Algorithms implemented in Java

    Java 61.9k 20k

  3. C Public

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

    C 20.3k 4.5k

  4. Go Public

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

    Go 16.9k 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++ 31.9k 7.4k

  6. TypeScript Public

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

    TypeScript 2k 417

Repositories

Showing 10 of 44 repositories
  • Java Public

    All Algorithms implemented in Java

    Java 61,883 MIT 19,995 9 (1 issue needs help) 5 Updated Jun 18, 2025
  • Rust Public

    All Algorithms implemented in Rust

    Rust 24,117 MIT 2,398 2 3 Updated Jun 11, 2025
  • Python Public

    All Algorithms implemented in Python

    Python 201,508 MIT 46,900 67 (5 issues need help) 330 Updated Jun 9, 2025
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    24 MIT 12 0 0 Updated Jun 9, 2025
  • Zig Public

    Collection of Algorithms implemented in Zig.

    Zig 244 MIT 42 0 0 Updated Jun 3, 2025
  • C-Plus-Plus Public

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

    C++ 31,947 MIT 7,388 12 (2 issues need help) 16 Updated May 25, 2025
  • website Public

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

    TypeScript 914 MIT 199 23 12 Updated May 15, 2025
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    Nim 88 MIT 26 3 (1 issue needs help) 5 Updated Apr 24, 2025
  • R Public

    Collection of various algorithms implemented in R.

    R 964 MIT 316 7 (2 issues need help) 2 Updated Apr 19, 2025
  • landing_page Public
    HTML 1 1 0 1 Updated Apr 1, 2025