Brute force way to calculate power of any number is to multiply given x number, power y times. But recursion can drastically reduce time complexity.
Following is implementation of above problem in c language.
Please write comments if you find anything wrong or you want to add something more related to this topic.
No comments:
Post a Comment
Write your comment here.