Recursive program to raise an integer x to power y uses which of the following algorithm?
|C.||divide and conquer|
|Answer» C. divide and conquer|
|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.|
Login to Continue
It will take less than 2 minutes