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 196k 46.1k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 60.5k 19.6k

  3. C C Public

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

    C 19.5k 4.4k

  4. Go Go Public

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

    Go 16.5k 2.6k

  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++ 31k 7.3k

  6. TypeScript TypeScript Public

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

    TypeScript 1.7k 358

Repositories

Showing 10 of 48 repositories
  • Dart Public

    All Algorithms implemented in Dart

    TheAlgorithms/Dart’s past year of commit activity
    Dart 1,887 MIT 450 15 36 Updated Jan 4, 2025
  • PHP Public

    All Algorithms implemented in PHP

    TheAlgorithms/PHP’s past year of commit activity
    PHP 2,179 MIT 476 1 5 Updated Jan 3, 2025
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig’s past year of commit activity
    Zig 186 MIT 35 0 0 Updated Jan 3, 2025
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 60,483 MIT 19,557 0 2 Updated Jan 2, 2025
  • Go Public

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

    TheAlgorithms/Go’s past year of commit activity
    Go 16,468 MIT 2,646 7 (3 issues need help) 2 Updated Dec 31, 2024
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 23,132 MIT 2,271 4 4 Updated Dec 31, 2024
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 196,140 MIT 46,056 63 (5 issues need help) 271 Updated Dec 31, 2024
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule’s past year of commit activity
    22 MIT 8 0 1 Updated Dec 29, 2024
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 865 MIT 189 21 13 Updated Dec 22, 2024
  • JavaScript Public

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

    TheAlgorithms/JavaScript’s past year of commit activity
    JavaScript 32,713 GPL-3.0 5,625 8 112 Updated Dec 20, 2024