# TheAlgorithms/Java

All Algorithms implemented in Java

Repository: https://github.com/TheAlgorithms/Java
Canonical: https://ross.abutalabs.com/products/java
Language: Java
License: MIT
License Family: permissive
Topics: java, algorithms, algorithms-datastructures, algorithm-challenges, sorting-algorithms, search, sort, hacktoberfest, algorithm, data-structures
Last push: 2026-08-26T05:56:29+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3700, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 66186, forks 21248 (observed 2026-08-28T04:12:20.687023+00:00)

## What it is
A large open-source collection of algorithms and data structures implemented in Java for educational purposes. It covers sorting, searching, and many classic algorithm challenges with tests and CI.

## Use cases
- learn sorting algorithms in java
- study data structures with java examples
- prepare for coding interview algorithms
- find reference implementations of classic algorithms
- contribute to open source algorithm projects

## When to choose
- you want readable, educational Java implementations of algorithms
- you are learning or teaching algorithms and data structures
- you need reference code to compare against your own implementation

## When to avoid
- you need production-grade, maximally efficient algorithm code
- you want drop-in library utilities rather than example code
- you need algorithms in a language other than Java

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools
- domain: education, programming-languages
- platform: jvm
- tags: data-structures, sorting, searching, educational, java, algorithms

## Member repositories
- TheAlgorithms/Java (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:20.687023+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:16:57.942209+00:00, confidence not recorded.
  - readme: https://github.com/TheAlgorithms/Java (fetched 2026-08-28T04:12:20.687023+00:00, sha 0290e1b85769)
- Data as of 2026-08-30T08:39:29.467469+00:00.
