DenisBazhan / codelibrary

Collection of algorithms and data structures

Home Page:http://www.codelibrary.ml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collection of algorithms and data structures in Java, C++, Python, JavaScript, Scala, Haskell, Ruby

The following topics are covered:

  • Trees: segment tree, Fenwick tree, k-d tree, R-tree, metric tree, quadtree, persistent tree, link/cut tree, binary heap, disjoint-sets, treap
  • Graph algorithms: shortest paths, maximum flow, maximum matching, spanning tree, connectivity, biconnectivity, LCA
  • String algorithms: suffix tree, suffix automata, suffix array, trie, Aho-Corasick algorithm, Knuth-Morris-Pratt algorithm, Z-function, hashing, parsing
  • Sorting algorithms: quick-, merge-, heap-, bubble-, selection-, insertion-, counting-, radix-sorting; Kth order statistic
  • Geometry algorithms: segments/lines/circles intersection, point in polygon query, convex hull, closest/furthest pair of points
  • Combinatorics: permutations, combinations, arrangements, partitions
  • Other: big numbers multiplication via fast Fourier transform, simplex algorithm

Index available at:

About

Collection of algorithms and data structures

http://www.codelibrary.ml

License:The Unlicense


Languages

Language:Java 85.0%Language:C++ 11.4%Language:Python 2.7%Language:Scala 0.5%Language:JavaScript 0.3%Language:Haskell 0.1%Language:Ruby 0.1%Language:CMake 0.0%