Java README

The project's README from github.com/TheAlgorithms/Java. As one markdown file: README.md.

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.

Java (TheAlgorithms/Java)

Searching Database…

66.4K ·GitHub
What is this?A GitHub collection of classic algorithms and data structures, each implemented in Java for educational purposes as part of The Algorithms project.
Is this a library I can pull into my own project, or a bunch of separate programs?It is a directory of separate, self-contained implementations meant to be read and studied, not a packaged library; the directory lists everything it includes.
Can I run the algorithms without installing anything first?Yes — every algorithm can be run and edited in Gitpod.io, a free online development environment, with a single click.
Would these implementations hold up in a real application?They are meant for learning and may be less efficient than the Java standard library, so treat them as study material rather than production code.
Does it matter whether I'm on Windows, macOS, or Linux?It makes no difference — you can run everything in the browser through Gitpod, and plain Java code itself works the same on all three systems.
Which algorithm areas does the collection cover?Sorting, searching, and data structures are the core areas, with the full directory reaching into many more classic algorithm categories.
Is the collection still actively updated?Yes — the repository has been around since 2016, takes part in Hacktoberfest, and runs automated CI checks including CodeQL analysis on changes.
What are similar projects?JavaScript, algorithms, C, leetcode, cosmos, leetcode, algorithms, Go
Size
7.6 MB
Stars
66.4K
Updated
CommitOct 16
Age
10y
Commits · 90 Days