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 226k 51.3k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 67.3k 21.5k

  3. C C Public

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

    C 22.6k 4.8k

  4. Go Go Public

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

    Go 18.3k 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.9k 7.9k

  6. TypeScript TypeScript Public

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

    TypeScript 3k 589

Repositories

Showing 10 of 44 repositories
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule's past year of commit activity
    41 MIT 20 0 0 Updated Nov 15, 2026
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java's past year of commit activity
    Java 67,251 MIT 21,533 3 17 Updated Nov 14, 2026
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python's past year of commit activity
    Python 226,149 MIT 51,321 14 (1 issue needs help) 104 Updated Nov 13, 2026
  • PHP Public

    All Algorithms implemented in PHP

    TheAlgorithms/PHP's past year of commit activity
    PHP 2,667 MIT 588 3 6 Updated Nov 12, 2026
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig's past year of commit activity
    Zig 421 MIT 64 0 0 Updated Nov 6, 2026
  • C-Sharp Public

    All algorithms implemented in C#.

    TheAlgorithms/C-Sharp's past year of commit activity
    C# 8,217 GPL-3.0 1,703 0 0 Updated Oct 31, 2026
  • algorithms-keeper Public

    A bot for TheAlgorithms/Python repository.

    TheAlgorithms/algorithms-keeper's past year of commit activity
    Python 200 MIT 71 2 6 Updated Oct 28, 2026
  • website Public

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

    TheAlgorithms/website's past year of commit activity
    TypeScript 1,060 MIT 223 23 19 Updated Oct 22, 2026
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    TheAlgorithms/Nim's past year of commit activity
    Nim 111 MIT 33 3 (1 issue needs help) 5 Updated Oct 16, 2026
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust's past year of commit activity
    Rust 26,180 MIT 2,601 2 6 Updated Oct 13, 2026