retagged by
656 views
1 votes
1 votes

please help me to understand 

retagged by

1 Answer

1 votes
1 votes
Let x and y be two n bit numbers

Devide x in two n/2 bit no say a,b similarly y in c,d

To get x*y we need to perform bd,ad,bc,ca that is 4 n/2 bit multiplication and some addition and shift operation in o(1) so recurrence relation can be written as

T(n)=4*T(n/2)+o(1)

Solve this using masters theorem

We get T(n)=o(n2)

Related questions

2 votes
2 votes
1 answer
1
1 votes
1 votes
2 answers
2
0 votes
0 votes
1 answer
4
Sambhrant Maurya asked Aug 7, 2018
402 views
If k is a positive constant, then the following divide and conquer recurrence evaluates to?T(n) = k ; n=1T(n) = 3 T (n/2) + kn ;n>1a)T(n)= 3kn2-knb)T(n)=3kn log23 - 2knc...