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
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.