Demo article
Algorithms and Complexity
Think clearly about time and space.
Algorithms and Complexity
Big-O notation describes how resource use scales with input size.
Examples
- Linear search: O(n)
- Binary search on sorted data: O(log n)
Think clearly about time and space.
Big-O notation describes how resource use scales with input size.