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 Public

    All Algorithms implemented in Python

    Python 199k 46.4k

  2. Java Public

    All Algorithms implemented in Java

    Java 61.1k 19.8k

  3. C Public

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

    C 19.9k 4.5k

  4. Go Public

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

    Go 16.7k 2.7k

  5. C-Plus-Plus Public

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

    C++ 31.5k 7.3k

  6. TypeScript Public

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

    TypeScript 1.8k 396

Repositories

Showing 10 of 43 repositories
  • Python Public

    All Algorithms implemented in Python

    Python 198,531 MIT 46,415 64 (5 issues need help) 289 Updated Mar 19, 2025
  • Java Public

    All Algorithms implemented in Java

    Java 61,120 MIT 19,781 5 1 Updated Mar 18, 2025
  • website Public

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

    TypeScript 888 MIT 195 22 13 Updated Mar 15, 2025
  • Mojo Public

    All algorithms implemented in Mojo. (The first open-sourced Mojo repository on GitHub)

    Mojo 41 MIT 12 1 2 Updated Mar 13, 2025
  • Rust Public

    All Algorithms implemented in Rust

    Rust 23,629 MIT 2,351 2 4 Updated Mar 1, 2025
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    24 MIT 10 0 1 Updated Feb 20, 2025
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    Nim 82 MIT 24 3 (1 issue needs help) 5 Updated Feb 16, 2025
  • Go Public

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

    Go 16,672 MIT 2,678 6 (3 issues need help) 1 Updated Jan 23, 2025
  • JavaScript Public

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

    JavaScript 32,973 GPL-3.0 5,668 8 112 Updated Jan 22, 2025
  • Ruby Public

    All algorithms implemented in Ruby

    Ruby 1,220 MIT 301 4 5 Updated Jan 17, 2025