Module Binary exponentiation

Binary exponentiation

**Frequency: 7/10** A common technique used in combinatorics problem and later on, matrix multiplication.

Resources

- [CP Algorithms: Binary exponentiation](https://cp-algorithms.com/algebra/binary-exp.html)

Problems

Overflow 460 / 542 800
Binary exponentiation 363 / 486 800
Number counting 224 / 252 900