\Theta (2^n): exponential (up to n = 26) [00LH]

Examples of things that are \Theta (2^n):

  • Number of subsets of n things
  • Number of bitstrings of length n
  • Number of nodes (also number of leaves) in a tree of height n
  • 1 + 2 + 4 + 8 + \dots + 2^n = 2^{n+1} - 1, so it is \Theta (2^n)

Context

Time Complexity Zoo [00L1]