shivanshugarg12800 / Algo_GT

This is the Master Repository for all the different algorithms in the world of DSA, be it in any language C++, Java, Python etc.....
12 stars 37 forks source link

Create calculatePower.cpp #112

Open aman-sagar-21 opened 2 years ago

aman-sagar-21 commented 2 years ago

Program to get power of a number using recursion both O(n) and O(logn) solutions