the problems can be solved by divide-and-conquer ides has the following general formula for the running time: T(n)=aT(n/b)+f(n)
give an example algorithm for each of the following cases and solve the corresponding recurrence relation by iteration method and by master theorem .
a=b
a<b
a>b
dema_sami
-2
Newbie Poster
Ezzaral
commented:
No evidence of intelligent thought here - not the slightest hint of effort.
-2
Recommended Answers
Jump to PostYou could start by getting a book from the library and reading about master theorem or by looking it up online. It isn't impossible.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.