Recurrence Relation:

  • : Size of the problem.
  • : Number of sub-problems in the recursion.
  • : Factor by which the sub-problem size decreases.
  • : Cost of the work done outside the recursive calls (Dividing + Combining).

Simplified Rules:

  1. dominates (Heavy Combine):
  2. Balanced: (e.g., Merge Sort: )
  3. Leaves dominate (Many tiny problems):