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 244 / 291 800
Binary exponentiation 187 / 256 800
Number counting 121 / 129 900