{"id":21669804,"url":"https://github.com/ashtanko/dsa-kotlin","last_synced_at":"2025-04-12T02:35:17.098Z","repository":{"id":47386976,"uuid":"515874521","full_name":"ashtanko/DSA-Kotlin","owner":"ashtanko","description":"📚 Collection of various Data Structures and Algorithms, implemented in Kotlin for educational purposes.","archived":false,"fork":false,"pushed_at":"2025-04-11T16:01:03.000Z","size":694,"stargazers_count":34,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T02:35:12.227Z","etag":null,"topics":["algorithm-challenges","algorithms","algorithms-and-data-structures","algorithms-datastructures","computer-science","datastructures","detekt","interview","interview-practice","kotlin","learn-to-code","sort","sorting-algorithms"],"latest_commit_sha":null,"homepage":"https://shtanko.dev","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashtanko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-20T07:15:42.000Z","updated_at":"2025-03-22T16:43:54.000Z","dependencies_parsed_at":"2024-04-03T00:32:39.393Z","dependency_job_id":"488d9e38-d260-4707-a000-4a27094d2ed2","html_url":"https://github.com/ashtanko/DSA-Kotlin","commit_stats":null,"previous_names":["ashtanko/the-algorithms"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashtanko%2FDSA-Kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashtanko%2FDSA-Kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashtanko%2FDSA-Kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashtanko%2FDSA-Kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashtanko","download_url":"https://codeload.github.com/ashtanko/DSA-Kotlin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506959,"owners_count":21115514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm-challenges","algorithms","algorithms-and-data-structures","algorithms-datastructures","computer-science","datastructures","detekt","interview","interview-practice","kotlin","learn-to-code","sort","sorting-algorithms"],"created_at":"2024-11-25T12:25:18.798Z","updated_at":"2025-04-12T02:35:17.092Z","avatar_url":"https://github.com/ashtanko.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data structures and algorithms in pure Kotlin\n\nA repository that organizes various data structures, algorithms, and solutions to problems in Kotlin in a structured format\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/ashtanko/DSA-Kotlin/actions/workflows/ci.yml\"\u003e\u003cimg alt=\"Build\" src=\"https://github.com/ashtanko/DSA-Kotlin/actions/workflows/ci.yml/badge.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://codebeat.co/projects/github-com-ashtanko-dsa-kotlin-main\"\u003e\u003cimg alt=\"Codebeat\" src=\"https://codebeat.co/badges/adf17f32-6b87-4c47-850b-d408fdbc6a47\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.codefactor.io/repository/github/ashtanko/dsa-kotlin\"\u003e\u003cimg alt=\"CodeFactor\" src=\"https://www.codefactor.io/repository/github/ashtanko/dsa-kotlin/badge\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://app.codacy.com/gh/ashtanko/DSA-Kotlin/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade\"\u003e\u003cimg alt=\"Codacy Badge\" src=\"https://app.codacy.com/project/badge/Grade/3eecbb4a701d426eb5d1d2dcbb9d7679\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://hitsofcode.com/github/ashtanko/DSA-Kotlin/view?branch=main\u0026label=Hits-of-Code\"\u003e\u003cimg alt=\"Hits-of-Code\" src=\"https://hitsofcode.com/github/ashtanko/DSA-Kotlin?branch=main\u0026label=Hits-of-Code\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/ashtanko/DSA-Kotlin/blob/main/LICENSE\"\u003e\u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://app.fossa.com/projects/git%2Bgithub.com%2Fashtanko%2Fthe-algorithms?ref=badge_shield\u0026issueType=license\"\u003e\u003cimg alt=\"FOSSA Status\" src=\"https://app.fossa.com/api/projects/git%2Bgithub.com%2Fashtanko%2Fthe-algorithms.svg?type=shield\u0026issueType=license\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://ktlint.github.io/\"\u003e\u003cimg alt=\"CodeStyle\" src=\"https://img.shields.io/badge/code%20style-%E2%9D%A4-FF4081.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"http://kotlinlang.org/\"\u003e\u003cimg alt=\"Kotlin Version\" src=\"https://img.shields.io/badge/kotlin-2.0.21-blue.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://app.codacy.com/gh/ashtanko/DSA-Kotlin/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_coverage\"\u003e\u003cimg alt=\"codacy test coverage\" src=\"https://app.codacy.com/project/badge/Coverage/3eecbb4a701d426eb5d1d2dcbb9d7679\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://codeclimate.com/github/ashtanko/DSA-Kotlin/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/60b90295847a33756958/maintainability\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://codeclimate.com/github/ashtanko/DSA-Kotlin/test_coverage\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/60b90295847a33756958/test_coverage\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/ashtanko/DSA-Kotlin\"\u003e\u003cimg alt=\"codecov test coverage\" src=\"https://codecov.io/gh/ashtanko/DSA-Kotlin/graph/badge.svg?token=6vzgrCAl5c\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://qlty.sh/gh/ashtanko/projects/DSA-Kotlin\"\u003e\u003cimg src=\"https://qlty.sh/badges/501e90c2-d0a4-4f9f-92f0-622f7d8993a5/maintainability.svg\" alt=\"Maintainability\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\u003cbr\u003e\n\n## Overview\n\nThe repository is a collection of open-source implementations of a variety of algorithms implemented in Kotlin and\nlicensed under MIT License.\nThe implementations and their associated documentations are meant to provide a learning resource for educators and\nstudents.\nHence, one may find more than one implementation for the same objective but using different algorithm strategies and\noptimizations.\n\n## Features\n\n* The repository provides implementations of various algorithms in one of the most fundamental general purpose languages\n  - [Kotlin](https://kotlinlang.org/)).\n* Well documented source code with detailed explanations provide a valuable resource for educators and students alike.\n* Source codes are compiled and tested\n* Self-checks within programs ensure correct implementations with confidence.\n* Modular implementations and OpenSource licensing enable the functions to be utilized conveniently in other\n  applications.\n* Makefile\n* JUnit 5\n* Code checks (detekt, ktlint, spotless)\n* CI\n# detekt\n\n## Metrics\n\n* 279 number of properties\n\n* 239 number of functions\n\n* 144 number of classes\n\n* 10 number of packages\n\n* 89 number of kt files\n\n## Complexity Report\n\n* 8,000 lines of code (loc)\n\n* 3,881 source lines of code (sloc)\n\n* 3,009 logical lines of code (lloc)\n\n* 3,531 comment lines of code (cloc)\n\n* 440 cyclomatic complexity (mcc)\n\n* 219 cognitive complexity\n\n* 0 number of total code smells\n\n* 90% comment source ratio\n\n* 146 mcc per 1,000 lloc\n\n* 0 code smells per 1,000 lloc\n\n## Findings (0)\n\ngenerated with [detekt version 1.23.8](https://detekt.dev/) on 2025-03-04 20:50:16 UTC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashtanko%2Fdsa-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashtanko%2Fdsa-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashtanko%2Fdsa-kotlin/lists"}