An open API service indexing awesome lists of open source software.

https://github.com/ashtanko/dsa-kotlin

📚 Collection of various Data Structures and Algorithms, implemented in Kotlin for educational purposes.
https://github.com/ashtanko/dsa-kotlin

algorithm-challenges algorithms algorithms-and-data-structures algorithms-datastructures computer-science datastructures detekt interview interview-practice kotlin learn-to-code sort sorting-algorithms

Last synced: 13 days ago
JSON representation

📚 Collection of various Data Structures and Algorithms, implemented in Kotlin for educational purposes.

Awesome Lists containing this project

README

        

# Data structures and algorithms in pure Kotlin

A repository that organizes various data structures, algorithms, and solutions to problems in Kotlin in a structured format


Build
Codebeat
CodeFactor
Codacy Badge
Hits-of-Code
License: MIT
FOSSA Status
CodeStyle
Kotlin Version
codacy test coverage


codecov test coverage
Maintainability


## Overview

The repository is a collection of open-source implementations of a variety of algorithms implemented in Kotlin and
licensed under MIT License.
The implementations and their associated documentations are meant to provide a learning resource for educators and
students.
Hence, one may find more than one implementation for the same objective but using different algorithm strategies and
optimizations.

## Features

* The repository provides implementations of various algorithms in one of the most fundamental general purpose languages
- [Kotlin](https://kotlinlang.org/)).
* Well documented source code with detailed explanations provide a valuable resource for educators and students alike.
* Source codes are compiled and tested
* Self-checks within programs ensure correct implementations with confidence.
* Modular implementations and OpenSource licensing enable the functions to be utilized conveniently in other
applications.
* Makefile
* JUnit 5
* Code checks (detekt, ktlint, spotless)
* CI
# detekt

## Metrics

* 279 number of properties

* 239 number of functions

* 144 number of classes

* 10 number of packages

* 89 number of kt files

## Complexity Report

* 8,000 lines of code (loc)

* 3,881 source lines of code (sloc)

* 3,009 logical lines of code (lloc)

* 3,531 comment lines of code (cloc)

* 440 cyclomatic complexity (mcc)

* 219 cognitive complexity

* 0 number of total code smells

* 90% comment source ratio

* 146 mcc per 1,000 lloc

* 0 code smells per 1,000 lloc

## Findings (0)

generated with [detekt version 1.23.8](https://detekt.dev/) on 2025-03-04 20:50:16 UTC