Java

All Algorithms implemented in Java

From TheAlgorithms·Updated May 30, 2026·View on GitHub·

You can run and edit the algorithms, or contribute to them using Gitpod.io (a free online development environment) with a single click. The project is written primarily in Java, distributed under the MIT License license, first published in 2016. It has gained significant community traction with 65,740 stars and 21,169 forks on GitHub. Key topics include: algorithm, algorithm-challenges, algorithms, algorithms-datastructures, data-structures.

The Algorithms - Java

Build
codecov
Discord chat
Gitpod ready-to-code

You can run and edit the algorithms, or contribute to them using Gitpod.io (a free online development environment) with a single click.

Open in Gitpod

All algorithms are implemented in Java (for educational purposes)

These implementations are intended for learning purposes. As such, they may be less efficient than the Java standard library.

Contribution Guidelines

Please read our Contribution Guidelines before you contribute to this project.

Algorithms

Our directory has the full list of applications.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from TheAlgorithms/Java via the GitHub API.Last fetched: 5/30/2026