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 46k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 60.4k 19.5k

  3. C C Public

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

    C 19.5k 4.4k

  4. Go Go Public

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

    Go 16.4k 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++ 31k 7.3k

  6. TypeScript TypeScript Public

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

    TypeScript 1.7k 356

Repositories

Showing 10 of 48 repositories
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 60,363 MIT 19,529 1 3 Updated Dec 21, 2024
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 195,762 MIT 45,979 73 (5 issues need help) 322 Updated Dec 20, 2024
  • JavaScript Public

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

    TheAlgorithms/JavaScript’s past year of commit activity
    JavaScript 32,672 GPL-3.0 5,618 8 112 Updated Dec 20, 2024
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 857 MIT 187 21 13 Updated Dec 18, 2024
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 23,057 MIT 2,259 2 4 Updated Dec 10, 2024
  • F-Sharp Public

    All Algorithms implemented in F#

    TheAlgorithms/F-Sharp’s past year of commit activity
    F# 213 MIT 52 0 0 Updated Dec 7, 2024
  • C-Sharp Public

    All algorithms implemented in C#.

    TheAlgorithms/C-Sharp’s past year of commit activity
    C# 7,239 GPL-3.0 1,535 1 (1 issue needs help) 0 Updated Dec 6, 2024
  • Go Public

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

    TheAlgorithms/Go’s past year of commit activity
    Go 16,425 MIT 2,642 7 (3 issues need help) 6 Updated Dec 2, 2024
  • Lua Public

    Algorithms and Data Structures implemented in the Lua programming language

    TheAlgorithms/Lua’s past year of commit activity
    Lua 297 MIT 57 1 2 Updated Dec 1, 2024
  • R Public

    Collection of various algorithms implemented in R.

    TheAlgorithms/R’s past year of commit activity
    R 891 MIT 300 7 (2 issues need help) 2 Updated Nov 26, 2024