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.6k 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.6k 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++ 31.1k 7.3k

  6. TypeScript TypeScript Public

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

    TypeScript 1.7k 365

Repositories

Showing 10 of 48 repositories
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 196,474 MIT 46,127 62 (5 issues need help) 273 Updated Jan 18, 2025
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 871 MIT 190 21 13 Updated Jan 17, 2025
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 23,299 MIT 2,282 4 2 Updated Jan 17, 2025
  • Ruby Public

    All algorithms implemented in Ruby

    TheAlgorithms/Ruby’s past year of commit activity
    Ruby 1,204 MIT 294 5 5 Updated Jan 17, 2025
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 60,598 MIT 19,599 2 5 Updated Jan 16, 2025
  • JavaScript Public

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

    TheAlgorithms/JavaScript’s past year of commit activity
    JavaScript 32,757 GPL-3.0 5,632 7 111 Updated Jan 15, 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,517 MIT 2,648 7 (3 issues need help) 2 Updated Jan 12, 2025
  • PHP Public

    All Algorithms implemented in PHP

    TheAlgorithms/PHP’s past year of commit activity
    PHP 2,194 MIT 479 1 4 Updated Jan 11, 2025
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig’s past year of commit activity
    Zig 197 MIT 37 0 0 Updated Jan 5, 2025
  • Dart Public

    All Algorithms implemented in Dart

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