JavaScript Algorithms and Big O notations
Big-O Guide
Calculation not dependent on input size - 0(1)
- loop - O(n)
- nested loops - O(n^2) Input size reduced by half -O(logn)
| Name | Name | Last commit date | ||
|---|---|---|---|---|
JavaScript Algorithms and Big O notations
Big-O Guide
Calculation not dependent on input size - 0(1)