Explanation: the recursive approach uses divide and conquer algorithm as we break the problem into smaller parts and then solve the smaller parts and finally combine their results to get the overall solution.
Q. Recursive program to raise an integer x to power y uses which of the following algorithm?
β
Correct Answer: (C)
divide and conquer
Explanation by: Mr. Dubey
the recursive approach uses divide and conquer algorithm as we break the problem into smaller parts and then solve the smaller parts and finally combine their results to get the overall solution.
Discussion
Question Analytics
881
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
98%
Success Rate