Tag

#design and analysis of algorithm

Solving Recurrences using Iteration Method

April 11, 2021

Iteration  Method Expand the relation so that summation dependent on n is obtained Bound the summation Example T(n)=2T(n/2)+1 T(1)=1 Solution: T(n)=2T(n/2)+1 Let there is k iteration. So, for…

Algorithm, RAM Model, Asymptotic Notation

March 25, 2021

Algorithm Finite set of computational instructions Set of steps to solve the problem Properties: Input / output : some input from some standard set of input and must…