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 298 / 350 800
Binary exponentiation 224 / 312 800
Number counting 157 / 172 900