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 221k 50.5k

  2. Java Java Public

    All Algorithms implemented in Java

    Java 65.5k 21.1k

  3. C C Public

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

    C 22k 4.7k

  4. Go Go Public

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

    Go 18k 2.8k

  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++ 34.2k 7.8k

  6. TypeScript TypeScript Public

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

    TypeScript 2.8k 554

Repositories

Showing 10 of 44 repositories
  • Python Public

    All Algorithms implemented in Python

    TheAlgorithms/Python’s past year of commit activity
    Python 220,757 MIT 50,533 180 (3 issues need help) 770 Updated May 4, 2026
  • Java Public

    All Algorithms implemented in Java

    TheAlgorithms/Java’s past year of commit activity
    Java 65,536 MIT 21,116 15 18 Updated May 3, 2026
  • Nim Public

    Collection of various algorithms implemented in Nim for educational purposes.

    TheAlgorithms/Nim’s past year of commit activity
    Nim 105 MIT 30 3 (1 issue needs help) 5 Updated Apr 29, 2026
  • Dart Public

    All Algorithms implemented in Dart

    TheAlgorithms/Dart’s past year of commit activity
    Dart 2,123 MIT 486 16 35 Updated Apr 25, 2026
  • Rust Public

    All Algorithms implemented in Rust

    TheAlgorithms/Rust’s past year of commit activity
    Rust 25,738 MIT 2,559 2 3 Updated Apr 24, 2026
  • website Public

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

    TheAlgorithms/website’s past year of commit activity
    TypeScript 1,018 MIT 222 23 17 Updated Apr 22, 2026
  • F-Sharp Public

    All Algorithms implemented in F#

    TheAlgorithms/F-Sharp’s past year of commit activity
    F# 236 MIT 63 0 0 Updated Apr 22, 2026
  • R Public

    Collection of various algorithms implemented in R.

    TheAlgorithms/R’s past year of commit activity
    R 1,137 MIT 352 0 0 Updated Apr 11, 2026
  • Go Public

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

    TheAlgorithms/Go’s past year of commit activity
    Go 18,017 MIT 2,801 6 (3 issues need help) 4 Updated Mar 30, 2026
  • Zig Public

    Collection of Algorithms implemented in Zig.

    TheAlgorithms/Zig’s past year of commit activity
    Zig 382 MIT 63 1 0 Updated Mar 26, 2026

Top languages

Loading…

Most used topics

Loading…