🐫 OCaml Algorithm Complexity Cheat Sheet
Interactive reference for all data structures & algorithms in this repository
O(1) Constant
O(log n) Logarithmic
O(n) Linear
O(n log n) Linearithmic
O(n²)+ Polynomial/Exponential
Amortized
All Categories
All Complexities
Sort: Category
Sort: Name
Sort: Best Case
Sort: Worst Case
Algorithm / Structure
Operation
Best
Average
Worst
Space
Visual
File