|
1 |
| - |
| 1 | + |
2 | 2 |
|
3 | 3 | # Kotlin Algorithms and Design Patterns
|
4 | 4 |
|
|
19 | 19 | Структура:
|
20 | 20 |
|
21 | 21 | 1. пакет <code>ru.design_patterns</code> - паттерны проектирования
|
22 |
| - * [Builder](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Builder.kt) |
23 |
| - * [Visitor](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Visitor.kt) |
24 |
| - * [Command](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Command.kt) |
25 |
| - * [Decorator](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Decorator.kt) |
26 |
| - * [Facade](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Facade.kt) |
27 |
| - * [Abstract Factory](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Abstract%20Factory.kt) |
28 |
| - * [Factory Method](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Factory%20Method.kt) |
29 |
| - * [Fluent Interface](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Fluent%20Interface%20Pattern.kt) |
30 |
| - * [Monostate](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Monostate.kt) |
31 |
| - * [Singleton](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Singleton.kt) |
32 |
| - * [Strategy](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Strategy.kt) |
33 |
| - * [Observer](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Observer.kt) |
34 |
| - * [Dependency Injection](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Dependency%20%20Injection.kt) |
35 |
| - * [Adapter](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/design_patterns/Adapter.kt) |
| 22 | + * [Builder](/src/main/kotlin/design_patterns/Builder.kt) |
| 23 | + * [Visitor](/src/main/kotlin/design_patterns/Visitor.kt) |
| 24 | + * [Command](/src/main/kotlin/design_patterns/Command.kt) |
| 25 | + * [Decorator](/src/main/kotlin/design_patterns/Decorator.kt) |
| 26 | + * [Facade](/src/main/kotlin/design_patterns/Facade.kt) |
| 27 | + * [Abstract Factory](/src/main/kotlin/design_patterns/Abstract%20Factory.kt) |
| 28 | + * [Factory Method](/src/main/kotlin/design_patterns/Factory%20Method.kt) |
| 29 | + * [Fluent Interface](/src/main/kotlin/design_patterns/Fluent%20Interface%20Pattern.kt) |
| 30 | + * [Monostate](/src/main/kotlin/design_patterns/Monostate.kt) |
| 31 | + * [Singleton](/src/main/kotlin/design_patterns/Singleton.kt) |
| 32 | + * [Strategy](/src/main/kotlin/design_patterns/Strategy.kt) |
| 33 | + * [Observer](/src/main/kotlin/design_patterns/Observer.kt) |
| 34 | + * [Dependency Injection](/src/main/kotlin/design_patterns/Dependency%20%20Injection.kt) |
| 35 | + * [Adapter](/src/main/kotlin/design_patterns/Adapter.kt) |
36 | 36 |
|
37 | 37 | 2. пакет <code>ru.structures</code> - структуры данных
|
38 |
| - * [Бинарное дерево](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/structures/BinaryTree.kt) |
39 |
| - * [Стэк](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/structures/Stack.kt) |
40 |
| - * [Очередь](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/structures/Queue.kt) |
41 |
| - * [Граф](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/structures/Graph.kt) |
42 |
| - * [Динамический массив](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/structures/DynamicArray.kt) |
43 |
| - * [Связанный список](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/structures/LinkedList.kt) |
44 |
| - * [Min-куча](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/structures/MinHeap.kt) |
45 |
| - * [Max-куча](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/structures/MaxHeap.kt) |
| 38 | + * [Бинарное дерево](/src/main/kotlin/structures/BinaryTree.kt) |
| 39 | + * [Стэк](/src/main/kotlin/structures/Stack.kt) |
| 40 | + * [Очередь](/src/main/kotlin/structures/Queue.kt) |
| 41 | + * [Граф](/src/main/kotlin/structures/Graph.kt) |
| 42 | + * [Динамический массив](/src/main/kotlin/structures/DynamicArray.kt) |
| 43 | + * [Связанный список](/src/main/kotlin/structures/LinkedList.kt) |
| 44 | + * [Min-куча](/src/main/kotlin/structures/MinHeap.kt) |
| 45 | + * [Max-куча](/src/main/kotlin/structures/MaxHeap.kt) |
46 | 46 |
|
47 | 47 | 3. пакет <code>ru.sorting</code> - алгоритмы сортировки
|
48 |
| - * [Пузырьковая сортировка](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/sorting/BubbleSort.kt) |
49 |
| - * [Пузырьковая сортировка (улучшенная)](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/sorting/BubbleSortImproved.kt) |
50 |
| - * [Сортировка вставками](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/sorting/InsertionSort.kt) |
51 |
| - * [Сортировака слиянием](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/sorting/MergeSort.kt) |
52 |
| - * [Быстрая сортировка](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/sorting/QuickSort.kt) |
53 |
| - * [Сортировка выбором](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/sorting/SelectionSort.kt) |
54 |
| - * [Поразрядная сортировка](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/sorting/RadixSort.kt) |
| 48 | + * [Пузырьковая сортировка](/src/main/kotlin/sorting/BubbleSort.kt) |
| 49 | + * [Пузырьковая сортировка (улучшенная)](/src/main/kotlin/sorting/BubbleSortImproved.kt) |
| 50 | + * [Сортировка вставками](/src/main/kotlin/sorting/InsertionSort.kt) |
| 51 | + * [Сортировака слиянием](/src/main/kotlin/sorting/MergeSort.kt) |
| 52 | + * [Быстрая сортировка](/src/main/kotlin/sorting/QuickSort.kt) |
| 53 | + * [Сортировка выбором](/src/main/kotlin/sorting/SelectionSort.kt) |
| 54 | + * [Поразрядная сортировка](/src/main/kotlin/sorting/RadixSort.kt) |
55 | 55 |
|
56 | 56 | 4. пакет <code>ru.search</code> - алгоритмы поиска
|
57 |
| - * [Бинарный поиск](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/search/BinarySearch.kt) |
58 |
| - * [Бинарный поиск (рекурсивный)](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/search/BinarySearchRecursive.kt) |
59 |
| - * [Линейный поиск](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/search/LinearSearch.kt) |
| 57 | + * [Бинарный поиск](/src/main/kotlin/search/BinarySearch.kt) |
| 58 | + * [Бинарный поиск (рекурсивный)](/src/main/kotlin/search/BinarySearchRecursive.kt) |
| 59 | + * [Линейный поиск](/src/main/kotlin/search/LinearSearch.kt) |
60 | 60 |
|
61 | 61 | 5. пакет <code>ru.other</code> - другие алгоритмы
|
62 |
| - * [Факториал числа](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/Factorial.kt) |
63 |
| - * [Алгоритм Кнута Морриса Пратта для поиска подстроки](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/KnuthMorrisPratt.kt) |
64 |
| - * [Расстояние Левенштейна](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/LevensteinLength.kt) |
65 |
| - * [Палиндром](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/Palindrome.kt) |
66 |
| - * [Алгоритм Эвклида](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/Euclid.kt) |
67 |
| - * [FizzBuzz](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/FizzBuzz.kt) |
68 |
| - * [Алгоритм переворота массива](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/ReverseArray.kt) |
69 |
| - * [Решето Эратосфена](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/SieveOfEratosthenes.kt) |
70 |
| - * [Поиск минимума](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/Max.kt) |
71 |
| - * [Поиск максимума](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/Min.kt) |
72 |
| - * [Квадратный корень из числа](https://github.com/KiberneticWorm/Kotlin-Algorithms-and-Design-Patterns/blob/master/src/main/kotlin/other/Sqrt.kt) |
| 62 | + * [Факториал числа](/src/main/kotlin/other/Factorial.kt) |
| 63 | + * [Алгоритм Кнута Морриса Пратта для поиска подстроки](/src/main/kotlin/other/KnuthMorrisPratt.kt) |
| 64 | + * [Расстояние Левенштейна](/src/main/kotlin/other/LevensteinLength.kt) |
| 65 | + * [Палиндром](/src/main/kotlin/other/Palindrome.kt) |
| 66 | + * [Алгоритм Эвклида](/src/main/kotlin/other/Euclid.kt) |
| 67 | + * [FizzBuzz](/src/main/kotlin/other/FizzBuzz.kt) |
| 68 | + * [Алгоритм переворота массива](/src/main/kotlin/other/ReverseArray.kt) |
| 69 | + * [Решето Эратосфена](/src/main/kotlin/other/SieveOfEratosthenes.kt) |
| 70 | + * [Поиск минимума](/src/main/kotlin/other/Max.kt) |
| 71 | + * [Поиск максимума](/src/main/kotlin/other/Min.kt) |
| 72 | + * [Квадратный корень из числа](/src/main/kotlin/other/Sqrt.kt) |
73 | 73 |
|
74 | 74 | ## Ваши пожелания и идеи
|
75 | 75 |
|
76 | 76 | Если вы заинтересовались моим репозиторием или у вас появились идеи как его улучшить или что-то добавить, то сообщите мне об этом в телеграме:
|
77 | 77 |
|
78 |
| -<a href="https://t.me/good_twilly"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Telegram_logo.svg/1024px-Telegram_logo.svg.png" width=160 /></a> |
| 78 | +<a href="https://t.me/evitwilly"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Telegram_logo.svg/1024px-Telegram_logo.svg.png" width=160 /></a> |
0 commit comments