helios1101 / HacktoberFest_20

This repository aims to cater to all users from beginners to advanced in this Hacktober'20. Everyone will surely have a take away form this. Happy Hacktober !!
https://helios1101.github.io/HacktoberFest_20/
GNU General Public License v3.0
84 stars 235 forks source link

Create Binary exponentiation.cpp #362

Closed the-good-boy closed 1 year ago

the-good-boy commented 3 years ago

The method of binary exponentiation can be used to raise power of the numbers with far less time complexity than the brute force approach.