Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 714 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 714 Bytes

Algorithms-and-data-structures

Files .h are my recent code, others (.cpp) are older

Algorithms:

Name Asymptotic
Dijkstra O(NlogN)
Dinic O(N^2M)
Chu–Liu/Edmonds O(NM)

Data structures:

Name
AVL (binary tree)
MultiMap (use hashtable)
Sparse table
Stack
Segment Tree
Fenwick Tree

Sortings:

Name Asymptotic
Heap sort O(NlogN)
Merge sort O(NlogN)
Bubble sort O(N^2)
Quick sort O(Nlog(N))