Recussive Relation

  1. Substitution Method
  2. R. Tree Method
  3. Masters Theorem

Substitution Method

Question

Question

Intermediate

Now notice that everything cancels:

Question

Question

Important

Find Complexity for

i. Palindrome of a String