/Kotlin-Algorithms-and-Design-Patterns

This repository contains the most common algorithms and data structures written in the Kotlin language with simple and concise code.

Primary LanguageKotlinMIT LicenseMIT

Алгоритмы на Kotlin

Kotlin Algorithms and Design Patterns

This repository lists the most common algorithms, data structures, and design patterns written in the Kotlin programming language.

All code is divided into separate packages:

  1. sorting - sorting algorithms
  2. search - search algorithms
  3. structures - data structure (lists, arrays, stack, queue, binary trees, e.t.c)
  4. design-patterns - design patterns
  5. other - other algorithms (Levenshtein distance, Knut Morris Pratt algorithm, e.t.c)

For each code file, tests are made, which are located in the test/kotlin directory

Also, whenever possible, I add javadoc for each class, method, and file

Content:

  1. package design_patterns - design patterns

  2. package structures - data structure

  3. package sorting - sorting algorithms

  4. package search - search algorithms

  5. package other - other algorithms

Your wishes and ideas

If you are interested in my repository or you have ideas on how to improve it or add something write: Telegram, Gmail

License

  MIT License

  Copyright (c) 2023 Dmitry Tsyvtsyn

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.