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
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 23,291 MIT 2,278 4 2 Updated Jan 15, 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,751 GPL-3.0 5,630 7 111 Updated Jan 15, 2025
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 196,456 MIT 46,125 61 (5 issues need help) 271 Updated Jan 14, 2025
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 60,582 MIT 19,590 2 5 Updated Jan 14, 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,508 MIT 2,649 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,189 MIT 479 1 4 Updated Jan 11, 2025
  • Ruby Public

    All algorithms implemented in Ruby

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

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig’s past year of commit activity
    Zig 196 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,890 MIT 450 15 36 Updated Jan 4, 2025
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule’s past year of commit activity
    23 MIT 9 0 1 Updated Dec 29, 2024