Bahadir Altun 79d50738f2 Add fast power (#691)
* Add fast power

Computes a^b in O(logN) time.

* Change long long to int64_t

* Update fast_power.cpp

* Update fast_power.cpp

* Add tests

* Update sample tests

* Update rand function

* Remove extra-spaces
2019-12-26 09:30:30 +01:00
2019-12-07 08:21:23 +01:00
2019-11-28 13:30:19 +01:00
2019-12-26 09:30:30 +01:00
2019-12-05 22:13:16 +01:00
2019-12-16 13:21:16 +01:00
2019-12-05 22:05:29 +01:00
2019-12-05 19:12:07 +01:00

The Algorithms - C++

contributions welcome  GitHub repo size GitHub closed pull requests

All algorithms implemented in C++ (for education)

The implementations are for learning purpose. They may be less efficient than the implementation in the standard library.

Contribute Guidelines

Read our Contribution Guidelines before you contribute.

Languages
C++ 98.6%
CMake 1.3%