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 362

Repositories

Showing 10 of 48 repositories
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 196,364 MIT 46,102 65 (5 issues need help) 275 Updated Jan 12, 2025
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 60,556 MIT 19,579 2 3 Updated Jan 12, 2025
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 23,262 MIT 2,276 4 3 Updated Jan 12, 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,729 GPL-3.0 5,629 7 112 Updated Jan 12, 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,501 MIT 2,648 6 (3 issues need help) 1 Updated Jan 12, 2025
  • PHP Public

    All Algorithms implemented in PHP

    TheAlgorithms/PHP’s past year of commit activity
    PHP 2,184 MIT 476 1 4 Updated Jan 11, 2025
  • Ruby Public

    All algorithms implemented in Ruby

    TheAlgorithms/Ruby’s past year of commit activity
    Ruby 1,203 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,889 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