How do I solve this complexity equation,T(n) = T(n-3)+T(n-5) -
while solving puzzle, ended having complexity of t(n)=t(n-3)+t(n-5)
. trying subtraction method. unable solve this. please explain should procedure.
this linear homogeneous difference equation constant coeffs.. solved transforming complex plane , solving polynomial.
without cs background (as state), i'm afraid details wouldn't fit in here. start wikipedia entry, if you're interested.
if want skip final solution, here wolfram alpha it.
Comments
Post a Comment