Skip to content

๐Ÿ“š Collection of various Data Structures and Algorithms, implemented in Kotlin for educational purposes.

License

Notifications You must be signed in to change notification settings

ashtanko/DSA-Kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 badge CodeFactor Maintainability Codacy Badge Hits-of-Code License: MIT FOSSA Status CodeStyle Kotlin Version codacy test coverage codeclimate test coverage codecov test coverage Coverage Status


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
  • 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

  • 272 number of properties

  • 231 number of functions

  • 140 number of classes

  • 9 number of packages

  • 84 number of kt files

Complexity Report

  • 7,633 lines of code (loc)

  • 3,710 source lines of code (sloc)

  • 2,870 logical lines of code (lloc)

  • 3,361 comment lines of code (cloc)

  • 427 cyclomatic complexity (mcc)

  • 214 cognitive complexity

  • 0 number of total code smells

  • 90% comment source ratio

  • 148 mcc per 1,000 lloc

  • 0 code smells per 1,000 lloc

Findings (0)

generated with detekt version 1.23.7 on 2024-11-01 19:30:41 UTC