Demo article

Algorithms and Complexity

Think clearly about time and space.

8 min read2026-12-01beginner

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)