TheAlgorithms

    TheAlgorithms/Java

    All Algorithms implemented in Java

    66.8K stars
    21.5K forks
    2.2K GitHub watchers
    Updated Nov 9, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 430 contributors on GitHub.

    Use Cases & Benefits

    • Provides implementations of a wide range of algorithms and data structures in Java for educational purposes.
    • Offers a comprehensive, community-driven collection of algorithm examples that facilitate learning and experimentation in Java.
    • Use for studying and understanding classic algorithms and data structures through practical Java code examples.
    • Use for practicing algorithm challenges and improving coding skills in preparation for technical interviews.
    • Use for contributing to open-source algorithm implementations and collaborating with other Java developers.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

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

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

    Excerpt from the TheAlgorithms/Java README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    21.5K+214

    Open issues

    26+11

    Compared with peers in Education

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    TheAlgorithms/Java compared with Education repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    rohitg00/ai-engineering-from-scratch78.3K+1.6K751 day ago
    mnfst/awesome-free-llm-apis12.8K+75475—
    luongnv89/claude-howto46.9K+44075161 days ago
    github/awesome-copilot41.0K+25175—
    ripienaar/free-for-dev141.8K—45—
    TheAlgorithms/Java66.8K—45—
    Category median46.9K+59775—

    Also by TheAlgorithms

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description