bmaslakov/kotlin-algorithm-club
关于
使用 Kotlin 实现的算法和数据结构。
学习与教育实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Here you can find the most common algorithms and data structures written in Kotlin.
The goal of this project is to create the most eloquent implementations of old algorithms in the new language. The code is meant to be as self-describing as possible, so I do not plan to include much documentation. It is assumed that you know the basics; if you want to learn algorithms perhaps it is a wrong place. I do full-heartedly recommend The Algorithm Design Manual by Steven Skiena and of course...
Algorithms, 4th Edition
This project is inspired by and based on wonderful works of Robert Sedgewick and Kevin Wayne. Most of the implementations were taken from the algs4 library.
List of the algorithms
Sorting
Data Structures
- Queue
- Stack
- Dequeue
- Priority Queue
- Indexed Priority Queue
- Disjoint Set (Union Find)
- Tree
- Binary Tree
- Binary Search Tree
- Immutable Set (based on binary search)
Search
Graphs
- Breadth First Search
- Depth First Search
- Kruskal's minimum spanning tree
- Prim's minimum spanning tree
- Boruvka's minimum spanning tree
- Dijkstra's shortest paths
Math
Geometry
- Gift wrapping (Jarvis)
- Graham Scan
- Quickhull
- Voronoi Diagram (Naïve implementation)
- Sierpinski triangle
Substring search
License
Kotlin algorithm club is released under the MIT License.
探索相关项目
加载中…