# TheAlgorithms/Kotlin

All Algorithms implemented in Kotlin

Repository: https://github.com/TheAlgorithms/Kotlin
Canonical: https://ross.abutalabs.com/products/thealgorithms-kotlin
Language: Kotlin
License: MIT
License Family: permissive
Last push: 2025-08-18T05:39:05+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 37, release rhythm 35, longevity 100
- inputs: {"age_days": 2720, "days_push": 380, "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 1628, forks 410 (observed 2026-08-28T04:05:13.229552+00:00)

## What it is
A curated collection of algorithms and data structures implemented in Kotlin, part of TheAlgorithms project. It serves as a reference for learning and studying algorithm implementations with accompanying JUnit tests.

## Use cases
- learn algorithms in Kotlin
- find reference implementations of sorting or searching algorithms
- study data structures with Kotlin examples
- compare algorithm implementations across languages
- prepare for coding interviews with Kotlin examples

## When to choose
- you want readable, tested Kotlin implementations of classic algorithms
- you are learning Kotlin and want idiomatic algorithm examples
- you need a reference to compare against your own implementations

## When to avoid
- you need production-grade, performance-optimized algorithm libraries
- you need solutions to specific online judge problems
- you need a maintained dependency with semantic versioning guarantees

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools
- domain: education, programming-languages, tutorials
- platform: jvm, cross-platform
- tags: kotlin, algorithms, data-structures, educational, thealgorithms

## Member repositories
- TheAlgorithms/Kotlin (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:13.229552+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-30T03:48:19.370062+00:00, confidence not recorded.
  - readme: https://github.com/TheAlgorithms/Kotlin (fetched 2026-08-28T04:05:13.229552+00:00, sha b57f5a0f5e14)
- Data as of 2026-08-30T08:39:29.467469+00:00.
