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 200k 46.6k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 61.4k 19.9k

  3. C C Public

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

    C 20.1k 4.5k

  4. Go Go Public

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

    Go 16.8k 2.7k

  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.7k 7.4k

  6. TypeScript TypeScript Public

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

    TypeScript 1.9k 405

Repositories

Showing 10 of 44 repositories
  • R Public

    Collection of various algorithms implemented in R.

    TheAlgorithms/R’s past year of commit activity
    R 938 MIT 311 7 (2 issues need help) 2 Updated Apr 19, 2025
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 199,644 MIT 46,606 65 (5 issues need help) 305 Updated Apr 18, 2025
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 61,386 MIT 19,870 4 4 Updated Apr 15, 2025
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 23,792 MIT 2,371 2 3 Updated Apr 11, 2025
  • landing_page Public
    TheAlgorithms/landing_page’s past year of commit activity
    HTML 1 0 0 0 Updated Apr 1, 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,771 MIT 2,688 6 (3 issues need help) 2 Updated Mar 24, 2025
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 896 MIT 196 22 12 Updated Mar 15, 2025
  • Mojo Public

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

    TheAlgorithms/Mojo’s past year of commit activity
    Mojo 45 MIT 14 1 2 Updated Mar 13, 2025
  • Jule Public

    Algorithms and data structures implemented in the Jule programming language.

    TheAlgorithms/Jule’s past year of commit activity
    26 MIT 12 0 1 Updated Feb 20, 2025
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    TheAlgorithms/Nim’s past year of commit activity
    Nim 86 MIT 26 3 (1 issue needs help) 5 Updated Feb 16, 2025