Posts

Showing posts with the label #c

Calculate power of an element(x,y) where x is base and y is power in O(log(y)) times.with O(1) space complexity without using DIVIDE & Conquer !!

Calculate the power of an element(x,y) where x is base and y is power in O(log(y)) times. with O(1) space complexity without using DIVIDE & Conquer !!                                                                                                                                                                                                                                             C++ program for...